PHP Knowledge Base
Add one week to a user defined date
$start_date = "2015/03/02"; $date = strtotime($start_date); $date = strtotime("+7 day", $date); echo date('Y-m-d', $date);
NULL
$start_date = "2015/03/02"; $date = strtotime($start_date); $date = strtotime("+7 day", $date); echo date('Y-m-d', $date);
NULL