how to calculate next 12 month date from date in php code example
Example 1: php date today plus 1 month
$future_timestamp = strtotime("+1 month");
$data = date('Y-m-d', $future_timestamp);
Example 2: get next month first day php
$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')));