PHP 获取今天,本周,本月unix时间戳
unix时间戳:
今天开始时间和结束时间:
$start_time = strtotime(date(‘Y-m-d H:i:s’,strtotime(“this day 00:00:00”)));
$end_time = strtotime(date(‘Y-m-d H:i:s’,strtotime(“this day 23:59:59”)));
昨天开始时间和结束时间:
$start_time =...
原创
2020-04-25 11:10:23 ·
383 阅读 ·
0 评论