CraigKyson
09-14-2000, 10:17 AM
When the date is entered into the date/time data type in the format dd/mm/yy, if the data type is passed for example as 04/13/2000 it is changed by the data type to 13/04/2000 (13 is recognised as an invalid month and swapped with the day). In my opinion this should fail to assign to the data type, as in my case the user has genuinely entered the date incorrectly. This seems to apply to different date formats.
If a text box is bound to a date/time field it is impossible to validate for this error. Is there a solution/workaround to this that doesn't involve using an unbound text box or to make the date/time data type fail to accept this value.
Any help much appreciated.
If a text box is bound to a date/time field it is impossible to validate for this error. Is there a solution/workaround to this that doesn't involve using an unbound text box or to make the date/time data type fail to accept this value.
Any help much appreciated.