Posts by Wendell vieira cunha • 1 point
2 posts
-
-3
votes3
answers289
viewsA: How to calculate the week of the year in pure Javascript, without relying on libraries?
now yes getYearlyWeekNumber( date ){ let splitedDate = date.split("-") let dateObj = new Date(+splitedDate[0], +splitedDate[1]-1, +splitedDate[2], 0,0,0,0 ) let firstDayYear = new…
javascriptanswered Wendell vieira cunha 1 -
-2
votes3
answers289
viewsA: How to calculate the week of the year in pure Javascript, without relying on libraries?
Function function getYearlyWeekNumber( date ){ let splitedDate = date.split("-") let dateObj = new Date(+splitedDate[0], +splitedDate[1]-1, +splitedDate[2], 0,0,0,0 ) let firstDayYear = new…
javascriptanswered Wendell vieira cunha 1