$w = strftime("%W",mktime(0,0,0,1,1,2011));
echo 开发者_运维技巧$w;
returns "00"
Why?
The first Monday of 2011 is the 3rd, therefore the 1st and 2nd are in week 0.
$w = strftime("%W",mktime(0,0,0,1,1,2011));
echo 开发者_运维技巧$w;
returns "00"
Why?
The first Monday of 2011 is the 3rd, therefore the 1st and 2nd are in week 0.
精彩评论