• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Comparision of date using javascript

 
Sapan Shah
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to compare two dates using javascript.
First date is present date and another date is that which i will enter in the text field in the format of dd-mm-yyyy.
There will be only one textfield in which i will enter the date and that value will be compare with present date.

Kindly guide me as i am new to javascript.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Basic idea:



Eric
 
salvin francis
Bartender
Posts: 1308
10
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
that solves half the problem.

here is a comparison code i found via google:
now the mystery lies in making this code work for you too
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic