File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "jaavscript date validation" Watch "jaavscript date validation" New topic

jaavscript date validation

san krish
Ranch Hand

Joined: Aug 11, 2010
Posts: 41
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

Joined: Oct 13, 2005
Posts: 41531
Not a Java™ question. Moving thread.
I agree. Here's the link:
subject: jaavscript date validation