在PHP 4中获取当周的星期一 [英] Get date of Monday in current week in PHP 4
本文介绍了在PHP 4中获取当周的星期一的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要在本周找到星期一的日期。如何在PHP 4中执行此操作?
I need to find the date of Monday in the current week. How can I do this in PHP 4?
推荐答案
Easis最方式:
$time = strtotime('monday this week');
这篇关于在PHP 4中获取当周的星期一的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文