posted 21 years ago
Let me explain the problem more clearly.
I have a field where the user enters the field in mm/dd/yyyy format. I use the tolocaleString to convert the date/time in the regional format.
For example if i enter the date as 1/12/2003.
Then it automatically converts the date as
Sunday, January 12, 2003 12:00:00 AM if my settings are in English. It gets converted to equivalent date and time if the setting is french and so on.
I want to write a function which validates this date and time Sunday, January 12, 2003 12:00:00 AM
is valid or not.
Let me know if you need additional clarification.
Thanks