add a month to a date php code example
Example 1: add 6 months to date in php
$effectiveDate = date('Y-m-d', strtotime("+3 months", strtotime($effectiveDate)));
Example 2: php date today plus 1 month
$future_timestamp = strtotime("+1 month");
$data = date('Y-m-d', $future_timestamp);