Possible Duplicate:
Compare dates with JavaScript
I want to find which one is greater from 2 dates with time that is in the following format in javascript
date1=2-11-2012 13:40:00
date2=01-11-2012 10:40:00
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Hopefully you can learn something…
Dateobjects using theDateconstructor.valueOf(), and what that means for aDateobject.>).Then, you may come up with something like…