Answers for "add 7 days to current date in 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

Code answers related to "add 7 days to current date in php"

Browse Popular Code Answers by Language