Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Also Importing Data from Excel, but slightly different!

Status
Not open for further replies.

davidrsutton

Programmer
Oct 6, 2004
94
GB
Afternoon.....

I know this may seem similar to the post below, but it is slightly different and a bit more of a specific problem....

I am creating a table from data imported from an Excel spreadsheet by using the Import data function in the tables window. This has been fine except that the dates that are stored in Excel are stored as a 5 digit number but formatted to show as a date (dd/mm/yyyy). When you import the dates into Access as a table, you get all the 5 digit numbers rather than the dd/mm/yyyy format which we are after.

Does anyone know of a way to convert these 5 digit date references into a normal date format in Access? Failing that, how you can convert the date formats to text/general in Excel in such a way that you keep the dd/mm/yyyy format?

We are running Access 97 and Excel 97.
 
What is the 5 digit number? Is it
51005
or
38482

The first is todays date, the second it the numeric representation of todays date.

Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top