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