Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Month and Day value reverse

Status
Not open for further replies.

tis9700

Technical User
Jun 18, 2003
100
US
I've never seen this happen before...

I have a textbox on an unbound form for entering a Date of Birth. It has an input mask and the format is short date.
mm/dd/yyyy

But when I type in 13/10/1978, I'm trying to purposely enter a bad date, the month reverses automatically with the day to give 10/13/1978.

Is this something simple and I've overlooked it? Why is this happening?
 
Take a look at the format function or check you local settings are not incorrectly set. I found this occurred when I linked to a ODBC back end and the field was only a date field and not a date time field.

Ian Mayor (UK)
Program Error
9 times out of 10 I know what I'm talking about. This must be my tenth reply.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top