By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,701 Members | 2,006 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,701 IT Pros & Developers. It's quick & easy.

to check date format

P: 10
Can any one help me with the js code to check whether the data entered in a text-field (for date),is in correct date format tat is "dd-mm-yyyy"?

Thanks in Advance
jk
Jan 11 '08 #1
Share this Question
Share on Google+
2 Replies


P: 10
Can any one help me with the js code to check whether the data entered in a text-field (for date),is in correct date format tat is "dd-mm-yyyy"?

Thanks in Advance
jk


date format is "dd-mm-yyyy"???????/
Jan 11 '08 #2

acoder
Expert Mod 15k+
P: 16,027
You could use regular expressions. What code do you have so far?
Jan 11 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.