php add one day to date

36

$start_date = "2015/03/02";  
$date = strtotime($start_date);
$date = strtotime("+7 day", $date);
echo date('Y/m/d', $date);
$date = new DateTime('2000-01-01');
$date->add(new DateInterval('P1D'));

Comments

Submit
0 Comments