Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
$w = strftime("%W",mktime(0,0,0,1,1,2011)); echo $w;
返回“00”
为什么?
2011 年的第一个星期一是第 3 个星期一,因此第 1 个和第 2 个星期一在第 0 周。