I have an access database provided to me where all dates are stored in a text field in mm / dd format (for example: 3/13/2009 12:20:36 AM)
I want to convert the field to a date / time, but the format for accessing it is dd / mm, which makes it so that if the day is more than 12 or not, then the converted date may be wrong.
An example with the current format when saving to text in DB:
3/12/2009 11:32:40 PM
3/13/2009 11:32:40 PM
If I just convert the data type of this field from the design view of the table from text to date / time Date Type I get the following:
12/03/2009 11:32:40 PM
03/13/2009 11:32:40 PM
How can I fix the stored values? I do not care about the format in which the dates will be displayed, since I will be able to easily change how it looks, but it turned out to be difficult to get them to correctly convert text to date / time.
Preferably I would like to fix this from direct access, but I can do it with C # if necessary.
Thanks.
source share