Is .NET giving me the wrong week number for Dec. 29th 2008?

前端 未结 7 1043
不思量自难忘°
不思量自难忘° 2020-12-31 06:06

According to the official (gregorian) calendar, the week number for 29/12/2008 is 1, because after the last day of week 52 (i.e. 28/12) there are three or less days left in

7条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-31 06:51

    This article looks deeper into the issue and possible workarounds. The hub of the matter is that the .NET calendar implementation does not seem to faithfully implement the ISO standard

提交回复
热议问题