Let\'s say I have a date in the following format: 2010-12-11 (year-mon-day)
With PHP, I want to increment the date by one month, and I want the year to be automatica
$date = strtotime("2017-12-11"); $newDate = date("Y-m-d", strtotime("+1 month", $date));
If you want to increment by days you can also do it
$date = strtotime("2017-12-11"); $newDate = date("Y-m-d", strtotime("+5 day", $date));