php if timestamp is in the next 3 months code example
Example: add 6 months to date in php
$effectiveDate = date('Y-m-d', strtotime("+3 months", strtotime($effectiveDate)));
$effectiveDate = date('Y-m-d', strtotime("+3 months", strtotime($effectiveDate)));