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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
small modification
echo date('l, m/d/Y',strtotime("+10 days"));
echo date('l, m/d/Y',strtotime("+10 days"));
ASKER
:X I already assigned the points >_<
but thanks for getting me the exact code for what I asked :) Attention to detail.
but thanks for getting me the exact code for what I asked :) Attention to detail.
you are welcome.
ASKER