$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
For specific date:
$date = '2011-11-01'; $date_plus = date('Y-m-d', strtotime($date.'+5 days')); echo $date.''.$date_plus;
It will be give :
2011-11-01 2011-11-06