Answers for "add 5 years to current date in php"

PHP
0

php add days to date

$start_date = "2015/03/02";  
$date = strtotime($start_date);
$date = strtotime("+7 day", $date);
echo date('Y/m/d', $date);
Posted by: Guest on July-29-2021
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

Code answers related to "add 5 years to current date in php"

Browse Popular Code Answers by Language