Hi,
I'm trying to get around an issue I'm having with a set of data that has a [Date] in a text string format (See below):
14th January 2009 (17 characters in length)
7th March 2009 (15 characters in length)
2nd September 2009 (19 characters in length)
Ideally I want the above to appear in the following format as a date value:
14/01/2009
7/03/2009
2/09/2009
The source data is from an Excel spreadsheet that is emailed to me weekly. I don't want to perform the conversion within Excel as my aim is to just to link the spreadsheet into the database and append the updated weekly data into a table for further manipulation.
If it is not possible to perform a conversion then could someone tell me how I select just the month from the above from the string (14th January 2009). If I could do this I could create a simple lookup table:
Month Month No
January 1
February 2
March 3
etc...
Then Bring the three elements together as I already know how to separate the [DD] and [YYYY]:
Application Date - ([DD]&"/"&[MM]&"/"&[YYYY])
Hope that makes sense and that there is a simple solution.
Thanks in Advance
Steve
I'm trying to get around an issue I'm having with a set of data that has a [Date] in a text string format (See below):
14th January 2009 (17 characters in length)
7th March 2009 (15 characters in length)
2nd September 2009 (19 characters in length)
Ideally I want the above to appear in the following format as a date value:
14/01/2009
7/03/2009
2/09/2009
The source data is from an Excel spreadsheet that is emailed to me weekly. I don't want to perform the conversion within Excel as my aim is to just to link the spreadsheet into the database and append the updated weekly data into a table for further manipulation.
If it is not possible to perform a conversion then could someone tell me how I select just the month from the above from the string (14th January 2009). If I could do this I could create a simple lookup table:
Month Month No
January 1
February 2
March 3
etc...
Then Bring the three elements together as I already know how to separate the [DD] and [YYYY]:
Application Date - ([DD]&"/"&[MM]&"/"&[YYYY])
Hope that makes sense and that there is a simple solution.
Thanks in Advance
Steve
Last edited: