Looking for a simple solution for adding 2 days to a selected date in JQuery/Javascript.
The date is returned in the format Y-m-d producing for today for example 2011-07-09. What I want to do is add 2 days to that. This would be easy in php with the strtotime function, but how is it done in javascript.
Any ideas?
Marvellous
Use the JavaScript
Dateobject’ssetDate()method.