Hi,
I'm looking for a script that will validate a date in at least two formats. Specifically, US (mm/dd/yyyy), and a custom format (yyyy/mm/dd). I'm already stripping out invalid characters, but I need to make sure that the date is in one of the proper formats, and that the day is correct.
I've tried taking existing scripts and combining them and changing around the formats, but I obviously don't know enough about Javascript to make it work.
Any help would be very much appreciated.
Thanks!
I'm looking for a script that will validate a date in at least two formats. Specifically, US (mm/dd/yyyy), and a custom format (yyyy/mm/dd). I'm already stripping out invalid characters, but I need to make sure that the date is in one of the proper formats, and that the day is correct.
I've tried taking existing scripts and combining them and changing around the formats, but I obviously don't know enough about Javascript to make it work.
Any help would be very much appreciated.
Thanks!

Comment