发布于 2015-09-14 15:07:06 | 83 次阅读 | 评论: 0 | 来源: 网络整理
Takes a date and returns the week of the year as a number between 0 and 53.
Weeks begin on Sundays, and week 1 begins with the first Sunday of the year. Days preceding the first Sunday of the year are in week 0. This behavior is the same as the “%U” operator to the strftime standard library function.