Answers for "how to add 1 month to a year and month php"

PHP
1

+1 month php

$time = strtotime("2010.12.11");
$final = date("Y-m-d", strtotime("+1 month", $time));
Posted by: Guest on August-07-2020
0

add 6 months to date in php

$effectiveDate = date('Y-m-d', strtotime("+3 months", strtotime($effectiveDate)));
Posted by: Guest on May-04-2020

Browse Popular Code Answers by Language