| | |
Convert Long Date from text to date format
Please support our MS Access and FileMaker Pro advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Mar 2008
Posts: 63
Reputation:
Solved Threads: 0
Hi,
I recently imported about 18,000 records from filemaker into access. I initially exported the data as a csv file, i then opened it with excel and saved it as an xls spread sheet. Once i cleaned all the data i proceeded to import it into access, however i now have the problem that a date field is in text format.
The date is in a long date format eg. Tuesday, 26 August 2003
I tried changing the format to date, but access then deletes all the records. Is is possible to convert these text dates to the date format?
I recently imported about 18,000 records from filemaker into access. I initially exported the data as a csv file, i then opened it with excel and saved it as an xls spread sheet. Once i cleaned all the data i proceeded to import it into access, however i now have the problem that a date field is in text format.
The date is in a long date format eg. Tuesday, 26 August 2003
I tried changing the format to date, but access then deletes all the records. Is is possible to convert these text dates to the date format?
0
#2 9 Days Ago
Hi,
few thoughts on this issue;
1) Trim the day in the long date.
2) update the date field to date using DateValue function
for ex:
select DateValue("26 August 2003") will return "8/26/2003".
all these can be done using sql statements.
Good luck.
few thoughts on this issue;
1) Trim the day in the long date.
2) update the date field to date using DateValue function
for ex:
select DateValue("26 August 2003") will return "8/26/2003".
all these can be done using sql statements.
Good luck.
![]() |
Similar Threads
- Range from start and end date and find date in this range (PHP)
- How to get modified date of a text file in linux.? (C++)
- Excel vba 6.0 copy date cells date format (Visual Basic 4 / 5 / 6)
- start-date end-date Validation (JavaScript / DHTML / AJAX)
- convert date(string) to date (date time) (JavaScript / DHTML / AJAX)
- Info in Database converted to Chart (Visual Basic 4 / 5 / 6)
Other Threads in the MS Access and FileMaker Pro Forum
- Previous Thread: Vacation days off
- Next Thread: Button to open form and find specific data MS Access
| Thread Tools | Search this Thread |





