aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes jaavscript date validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "jaavscript date validation" Watch "jaavscript date validation" New topic
Author

jaavscript date validation

san krish
Ranch Hand

Joined: Aug 11, 2010
Posts: 40
Hi,
I have a requirement like this.
I have a datepicker. If the user picks a date which is lesser than 16yeras from now, I should throw a alert message saying date is invalid.

basically i should validate sysdate-16yrs.
How do i achieve it in Javascript?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36452
    
  15
Not a Java™ question. Moving thread.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: jaavscript date validation
 
Similar Threads
How to compare two dates
Date Format
Date format
Incrementing the date
Date format