Jquery DateJs, is there validation for full date?
Posted
by Cesar Lopez
on Stack Overflow
See other posts from Stack Overflow
or by Cesar Lopez
Published on 2010-03-09T10:17:23Z
Indexed on
2010/03/09
10:21 UTC
Read the original article
Hit count: 324
Hi all, I just find out about the power of date js, And its great!!! As I am a newbie I was wondering if there is any kind of general validitation for different types of full dates. eg.
var d1 = Date.parse('2000-10-18, 10:06 AM');
alert(d1.toString('HH:mm'));
If date is ('200-10-18, 10:06 AM'), of course it doesn't like it.
So my question is if there is any quick way to validate the full date, rather than having to validate one by one.
Thanks.
© Stack Overflow or respective owner