php本月第一天/本月最后一天
本月第一天
$month_first_day=date('Y-m-01',strtotime(date("Y-m-d")));
本月第二天
$month_last_day=date('Y-m-d',strtotime("$month_first_day +1 month -1 day"));
2020-05-12的第二天
$tomorrow=date('Y-m-d',strtotime('2020-05-12')+86400);
$month_first_day=date('Y-m-01',strtotime(date("Y-m-d")));
$month_last_day=date('Y-m-d',strtotime("$month_first_day +1 month -1 day"));
$tomorrow=date('Y-m-d',strtotime('2020-05-12')+86400);