Week 1 of 2013 starts 31-12-2012 since it's a monday.
A call to GetWeekOfYear
with culture nl-NL
, FirstDayOfWeek.Monday
and CalendarWeekRule.FirstFourDayWeek
returns week number 53 for monday 31-12-2012 and week 1 for tuesday 1-1-2013. How can that monday have a different week number than tuesday?
Am i missing something?
Because it's week 53 of 2012. It will return the week of the year passed in, based on the date you use (31-12-2012
). Week 1 of 2013 is the same week as week 53 of 2012.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With