Click here to Skip to main content
13,091,300 members (58,146 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

5.3K views
1 bookmarked
Posted 28 Sep 2011

JavaScript Date Validation

, 28 Sep 2011
Datejs could be a possible alternate helper, or if you are going the way of jQuery, check out jQuery validation engine.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

17 Jan 2011
KevinAG
Your statement of, "I wanted to validate text inputed by a user as they were typing to tell them if it was a valid date." seems to be a bit misleading. I was under the impression that your code would start off returning true until I entered a non-number character, invalid separator, or invalid...
29 Nov 2012
Ed Nutting
2 alternatives  
JavaScript Date Validation

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

musicm122
CEO Hacker Ferret Software
United States United States
Owner at Hacker Ferret Software
Software Consultant with over 8 years in the trenches.

Specialized in .Net, javascript, and Android development. But adaptable enough for whatever you can dish out. I have a spiritual neck-beard just not a physical one.

For more info about me check out Hacker Ferret Software where we focus on hacking together your software with love.

We now offer a Free 30 Minute Consultation

| | Privacy | Terms of Use | Mobile
Web03 | 2.8.170813.1 | Last Updated 28 Sep 2011
Article Copyright 2011 by musicm122
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid