PHP根据年月获取月初月末时间

$months = '2022-06';
$time1 = date('Y-m-01 00:00:00', strtotime($months));
$time2 = date('Y-m-d 23:5

猜你喜欢

转载自blog.csdn.net/weiguang102/article/details/125498010
今日推荐