Answers for "add 30 day to date php"

PHP
0

add 7 days to date php

$date = "Mar 03, 2011";
$date = strtotime($date);
$date = strtotime("+7 day", $date);
echo date('M d, Y', $date);
Posted by: Guest on April-20-2020
0

PHP add 1 day to current date

echo date('j F, Y',strtotime("+1 days"));
Posted by: Guest on January-31-2022

Browse Popular Code Answers by Language