📜  获取下个月第一天的php代码示例

📅  最后修改于: 2022-03-11 14:54:40.589000             🧑  作者: Mango

代码示例3
$config_month  = 1;
$config_day = 1;

$new_expiry_date = date('Y-m-d', mktime(0, 0, 0, date('m') + $config_month, 1 + $config_day, date('Y')));