获取上个月第一天及最后一天.




echo date('Y-m-01', strtotime('-1 month')); echo "<br/>"; echo date('Y-m-t', strtotime('-1 month')); echo "<br/>";

 

posted @ 2019-09-06 18:14  盘思动  阅读(149)  评论(0编辑  收藏  举报