Date in mdb file changes DD/MM/YYYY to MM/DD/YYYY ?why

elementi

New Member
Joined
Nov 22, 2004
Messages
2
hi group,
i have this problem, i have a database made in access, its a inventory database, so in order go get different data from the file i need to import it to Excel thru a PIVOT table, when i do so the DATE, changes from DD/MM to MM/DD,
thought that the problem was in my computers date format, fixed that
when i check the MDB file the dates are ok
but when import them to Excel it shows me 11/1/2004 as 11 january/2004 instead of 1 november 2004, and wise versa, zome of the records are ok, some are with inverted DATE, it makes no sense
can someboody help me
this mdb file, is a part of a inventory software. but i you excel to make some other kind of sale analysis..

or is there a way to separate the DATE to date, month, year in separate cells


thanks in advance

Masar Hoxha
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Hi, I can't answer your question directly, but in repsonse to this question :

or is there a way to separate the DATE to date, month, year in separate cells

yes you can break up the date into the day, month and year, as follows :

Day = Day([your date variable name])
Month = Month([your date variable name])
Year = Year([your date variable name])

By using three variables instead of the one date field you should be able to work around the problem.

Sorry I haven't solved the problem directly but this might help you in the mean time.

Andrew. :)
 
Upvote 0
Hi..

I get this too.. I simply changed all the cells in that column to a custom format of dd/mm/yyyy.. although there is dd/mm/yyyy in under DATE format.. this did'nt work.. you have to use CUSTOM..

hope this helps

G.
 
Upvote 0

Forum statistics

Threads
1,221,831
Messages
6,162,242
Members
451,756
Latest member
tommyw

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