Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试获取我们所在的实际一周的开始星期一日期。就像我们是 7 月 15 日,并且希望 strtotime 的结果返回 7 月 11 日......
我试过了
strtotime("-1 weekdays");
没有运气......请问实际一周的功能是什么。
谢谢
$timestamp = strotime('monday this week');
周一给你!;)
这些都不能帮助你找到答案吗?