0

我正在尝试获取我们所在的实际一周的开始星期一日期。就像我们是 7 月 15 日,并且希望 strtotime 的结果返回 7 月 11 日......

我试过了

strtotime("-1 weekdays");

没有运气......请问实际一周的功能是什么。

谢谢

4

2 回答 2

2

$timestamp = strotime('monday this week');

周一给你!;)

于 2011-07-15T19:10:45.280 回答
0

这些都不能帮助你找到答案吗?

于 2011-07-15T19:10:57.043 回答