[英]1st I converted date to week number ( 01 to 53 ) in PHP and now i don't know how to get week number to first_date of week
[英]If I request calendar week in the first week of the year with PHP, do I get 1 or 01 as number?
如果我将运行此代码date('W');
在一年的第一个日历周,我会得到输出 1 还是 01?
谢谢
它将返回 01。它总是返回 2 位数字。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.