current date add days in php code example
Example 1: php script to calculate next 50 days from current date
$NewDate=Date('y:m:d', strtotime('+50 days'));
Example 2: php date + 30 days
echo date('d/m/Y',strtotime('+30 days',strtotime(str_replace('/', '-', '05/06/2016')))) . PHP_EOL;