php 获得上周数据

$lastMondy = date('Y-m-d', strtotime('-2 sunday +1 days', time()));
$lastSundy = date('Y-m-d', strtotime('-1 sunday', time()));
posted @ 2018-12-19 18:21  matengfei  阅读(249)  评论(0编辑  收藏  举报