KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I've inherited a project for a company I'm working for. Their dates are recorded in the following format: March 18th, 2011 would be listed as "18 Mar 2011". April 31st, 2010 would be listed as "31 Apr 2010". How would I use Javascript to add one day to a date formatted in the above manner, then reconvert it back into the same format? I want to create a function that adds one day to "18 Mar 2011" and returns "19 Mar 2011". Or adds 1 day to "30 Jun 2011" and returns "1 Jul 2011". Can anyone help me out?
Tags (comma-separated)
Save Edits
Cancel