date format checker
Moderator: General Moderators
-
greedyisg00d
- Forum Commoner
- Posts: 42
- Joined: Thu Feb 12, 2009 2:48 am
date format checker
Hi I am currently making an scheduler and I have a javascript calendar where the selected value is passed into a textbox in this format mm/dd/yyyy. My problem is I want to create a checker for invalid date format because sometimes the users edit or just type the date into the textbox. Any sample codes so that I can try it..THANKS
Re: date format checker
Split it into month, day, and year parts, and pass them to checkdate.