print_r(date('Y-m-d', strtotime(date('Y').'W01')));
echo "\r\n";
print_r(date('Y-m-d', strtotime('first mon of january')));
这个小问题又让我复习了php日期函数的Relative Formats 格式和 Compound Formats格式
本文深入探讨了PHP中日期函数的Relative Formats和Compound Formats使用方法,通过实例代码展示了如何灵活运用这些功能进行日期操作。
print_r(date('Y-m-d', strtotime(date('Y').'W01')));
echo "\r\n";
print_r(date('Y-m-d', strtotime('first mon of january')));
这个小问题又让我复习了php日期函数的Relative Formats 格式和 Compound Formats格式

被折叠的 条评论
为什么被折叠?