Forum Moderators: coopster
The only way I've thought of doing this so far is converting to a time stamp, adding the days (in milliseconds) and then converting back.
I'm sure there must be an easier way!
Suggestions appreciated.
Thanks
You might want to check out the strtotime() [uk.php.net] function. It may be what you are looking for.
dc
To get more information on the epoch date math, search for the PHP MKTIME function in google and you will see good explanations of them.
It is very easy to use and usually can be done in 2 or 3 lines of PHP code.