I'm very, very new to databases, and trying to collect data from online shops we use. Apologies if this is a repeat question, I couldn't find existing questions that matched my problem for the life of me.
One of the sites we use gives dates in the format "3 Dec 2020" when I download a .csv file.
Could someone help me figure out how to get it directly into a 'Date/Time' column instead of me having to set it as 'short text' and back to 'date/time' again?
Thanks ><
Don't import the file but link it.
Then, use the linked table as source in a simple select query where you modify and filter the data as needed. For example, both CDate
and DateValue
will convert a text date to a true DateTime value:
TextDate = "3 Dec 2020"
TrueDate = DateValue(TextDate)
' TrueDate -> 2020-12-03
Finally, run an append query using the select query as source to append the data to your table.