[Solved] Add +1 or more day to DATETIME in php eaven if that day is in a different month [closed]

[ad_1]

$date = "2017-12-31";

echo date("Y-m-d", strtotime($date . " +5 days"));

Strtotime() can translate some sentences to actions. See example 1

[ad_2]

solved Add +1 or more day to DATETIME in php eaven if that day is in a different month [closed]