$date = date(\'Y-m-d\',current_time(\'timestamp\', 0));
How do I change $date to $date + 5 days?
$date
$date + 5 days
PHP version is 5
Did not supposed to be like this?
$date_cur = date('Y-m-d', current_time('timestamp', 0)); echo $date_cur . ' '; $date_cur_plus = date('Y-m-d', strtotime('+5 days', current_time('timestamp', 0) ) ); echo $date_cur_plus;