add 30 days to date in php code example Example: php script to calculate next 50 days from current date $NewDate=Date('y:m:d', strtotime('+50 days'));