Forum Discussion
bernardomarques
8 years agoNew Member
week
I'm using the native function "WEEKNUMBER" which should return the week number of a date in the year. However i realized that the returned number doesn't makes sense considering the two return option...
- 8 years ago
It's because the start of Calendar Year 2017 was a Sunday.
You'll see here, the 2nd column uses the "2" parameter and pushes the 2nd day of the year into week 2. While week 2 doesn't start until the 8th of Jan for the "1" parameter (the middle column)
Phil_Seamark
8 years agoMicrosoft Employee
It's because the start of Calendar Year 2017 was a Sunday.
You'll see here, the 2nd column uses the "2" parameter and pushes the 2nd day of the year into week 2. While week 2 doesn't start until the 8th of Jan for the "1" parameter (the middle column)