Hi There,
I need a script that reveals on a website the following code, The code must work out todays date, then have a variable that adds or takes away the amount of days from the current date (using that variable).. then print the answer to the equation.
Code should work out todays date = Saturday, 23rd May 2009.
Then work in with variable = +10 (this means add 10 days to the date)
so the date would then show Tuesday, 2nd June 2009.
or
Code should work out todays date = Saturday, 23rd May 2009.
Then work in with variable = -7 (this means take away 7 days to the date)
so the date would then show Saturday, 16th June 2009.
remember it is important to calculate if the day of the month needs th or nd or st eg 20th or 22nd or 21st.
This site might help you with solution.
http://www.bigresource.com/PHP-number-into-month-with-st-nd-rd-th-NgYN8nIb.html
(scriptlance this is not my site and is only here for the help of the solution)
Thanks,
Jason.