简体   繁体   中英

Excel importing date inconsistently from Csv

I have a .csv file delimited with ; (semicolon) generated from PHP code. It has three columns that contain date in dmy format(eg. 23 Apr 2013).

But when imported it in Excel,these date value become inconsistent.

It shows two different formats:

12 Oct 2006
15. Feb 06

In the .CSV , the format is same as that of 12 Oct 2006.

I have tried making them consistent by selecting the whole column and changing a single format. But it doesn't work.

It's because of different language of your Excel.

for example:

In deutsche

 23 Oct 2017

In English

 23 Okt 2017

So it will not understand Oct if you are using deutsche language with your excel.

same for English language it will not understand Okt .

For Example Deutsche

1. Jan 07
1. Feb 07
1. Mrz 07
1. Apr 07
1. Mai 07
1. Jun 07
1. Jul 07
1. Aug 07
1. Sep 06
1. Okt 06
1. Nov 06
1. Dez 06

For Example English

1. Jan 07
1. Feb 07
1. Mar 07
1. Apr 07
1. May 07
1. Jun 07
1. Jul 07
1. Aug 07
1. Sep 06
1. Oct 06
1. Nov 06
1. Dec 06

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM