开发者

Find Unix Timestamp of Midnight on Most Previous Monday

How can I find the Unix Timestamp of m开发者_C百科idnight on (the beginning of) the most previous Monday?


Use strtotime

date("r", strtotime("last monday"));

yields

Mon, 28 Jun 2010 00:00:00 -0700
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜