Re- Formatting of date in column

lawdie

Board Regular
Joined
Oct 28, 2002
Messages
84
Hi all,

I'm importing a CSV file of raw data daily into access

One of the columns (DATE) is coming in as below format

20030403

I need Access to see it correctly. 03/04/2003

Theres a workaround in Excel left mid right. But does anyone have a direct answer to the problem in Access.

Thanks, Lawdie
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Hi lawdie,

Are you importing the data into an existing table or creating a new one every day?
 
Upvote 0
I have this problem all the time-

Do the following

Step 1: Create a new field in the database with Data type= date (lets call it service_date)

Step 2: Create an update query where you update service_date to = format([old_date],"0000/00/00")

hope this helps

-gator
 
Upvote 0

Forum statistics

Threads
1,223,533
Messages
6,172,883
Members
452,486
Latest member
standw01

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top