I have two dates 18-Aug-2010 and 19-Aug-2010 of this format. How to find whether which date is greater?
18-Aug-2010
19-Aug-2010
You can do the parsing manually, for your given format, but I'd suggest you use the date.js library to parse the dates to Date objects and then compare. Check it out, its awesome!
And moreover, its a great addition to your js utility toolbox.