This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 15376
    
    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: 15376
    
    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
 
Similar Threads
Unable to get Date instance in a particular format
first date and last date of month
Regarding HttpSession
PGP (Pretty Good Privacy)
choices.txt structure.