Something very mad is happening. On a form there is a text box into which a date (in format dd/mm/yy) is entered (the default being today's date). When the record is saved, it goes into the table as mm/dd/yy. So, for example, if the date entered is 10/04/10 (10th April 2010) it goes in as 04/10/10 (4th October), and comes out as that whenever it's retrieved thereafter.
There are lots of places in the db where dates are entered and saved, and this problem occurs nowhere except on this one form. There's no code behind the date field, and nothing odd about the table: format for both is just set to Short Date.
I have checked the Windows Regional Settings, and date/time is set to UK ... anyway, that setting should apply everywhere (if US then US everywhere, if UK then UK everywhere).
I've been ferreting about for the source of this problem for HOURS!!! Help! Has anyone else experienced this 'madness'? If so, what can be done to stop it?
There are lots of places in the db where dates are entered and saved, and this problem occurs nowhere except on this one form. There's no code behind the date field, and nothing odd about the table: format for both is just set to Short Date.
I have checked the Windows Regional Settings, and date/time is set to UK ... anyway, that setting should apply everywhere (if US then US everywhere, if UK then UK everywhere).
I've been ferreting about for the source of this problem for HOURS!!! Help! Has anyone else experienced this 'madness'? If so, what can be done to stop it?
Comment