PHP日期相关

PHP
WPing丶

2023-01-29 09:45

$date_start = strtotime(date('Y-m-01') . ' -1 month');//上个月1号0点时间戳
$date_end = strtotime(date('Y-m-01')) - 1;//上个月最后1天23点59分59秒时间戳


0 条评论

评论:

发送
0.086232s