This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes date comparison using javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "date comparison using javascript" Watch "date comparison using javascript" New topic
Author

date comparison using javascript

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I have two text boxes where user enters dates. I want the end date to be greater than start date? How do I compare?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15385
    
    6
http://javascript.internet.com/forms/val-date.html
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
date.parse works only if date is entered in format mon-day yyyy ?

How to comapare if dates entered are in mm/dd/yyyy format?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15385
    
    6
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
thankx
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: date comparison using javascript
 
It's not a secret anymore!