时间:2021-07-01 10:21:17 帮助过:13人阅读
$mytime= date("Y-m-d H:i:s", strtotime("-1 day"));
$mytime= date("Y-m-d H:i:s", strtotime("-3 day"));
$mytime= date("Y-m-d H:i:s", strtotime("-1 month"));
$mytime= date("Y-m-d H:i:s", strtotime("-3 month"));
$mytime= date("Y-m-d H:i:s", strtotime("-1 hour"));
$mytime= date("Y-m-d H:i:s", strtotime("-1 year"));