[英]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.