php获取月头月末
程序员文章站
2022-05-25 16:21:03
...
$start_time = $year . '-' . $month .'-01 00:00:00';
$end_time = date('Y-m-d', strtotime($start_time. ' +1 month -1 day')).' 23:59:59';
上一篇: xml解决思路