Link to home
Start Free TrialLog in
Avatar of Doomtomb
Doomtomb

asked on

PHP get current date and add 10 days to it

I need a simple php script that will get the current date, add 10 days to it, and then print it out in the format:

Day (Ex. Tuesday), MM/DD/YYYY

This is relatively simple but I don't know what to do if the current date is Oct 26 and not print out something dumb like Oct 36

Thanks in advance
ASKER CERTIFIED SOLUTION
Avatar of hielo
hielo
Flag of Wallis and Futuna image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Doomtomb
Doomtomb

ASKER

Didn't know it was that easy! Thanks for the fast response.
small modification

      echo date('l, m/d/Y',strtotime("+10 days"));
:X I already assigned the points >_<

but thanks for getting me the exact code for what I asked :) Attention to detail.
you are welcome.