简体   繁体   中英

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'); in the first calendar week of the year, will I get as output 1 or 01?

thanks

它将返回 01。它总是返回 2 位数字。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM