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