Home

How to convert imported date with different format?

%3CLINGO-SUB%20id%3D%22lingo-sub-734560%22%20slang%3D%22en-US%22%3EHow%20to%20convert%20imported%20date%20with%20different%20format%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-734560%22%20slang%3D%22en-US%22%3E%3CP%3EI%20import%20data%20from%20another%20system%20that%20generates%20a%20CSV%20file%20with%20dates%20formatted%20as%20MM%2FDD%2FYYYY%2C%20but%20my%20Excel%20is%20in%20Portuguese%20language%2C%20and%20our%20standard%20is%20DD%2FMM%2FYYYY.%20Even%20if%20I%20try%20to%20change%20the%20date%20format%20in%20that%20column%20to%20English%20(USA)%2C%20nothing%20happens%2C%20and%20the%20months%20and%20dates%20continue%20inverted.%20Is%20there%20any%20way%20I%20can%20fix%20it%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-734560%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-735313%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20convert%20imported%20date%20with%20different%20format%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-735313%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F369995%22%20target%3D%22_blank%22%3E%40RonnieSilva%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20your%20dates%20are%20in%20same%20column(s)%20you%20may%20use%20Text%20to%20Columns%20to%20them%20applying%20proper%20date%20format%20on%20third%20step%20of%20the%20wizard.%20That%20works%20column%20by%20column.%20If%20you%20have%20few%2C%20better%20not%20to%20open%20csv%20but%20import%20it%20into%20blank%20file%2C%20same%20conversion%20could%20be%20applied%20to%20all%20columns%20with%20dates.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20dates%20are%20placed%20randomly%20with%20the%20file%2C%20when%20change%20locale%20setting%20temporary%20(Win%2BR%2C%20control%20international%2C%20short%20date%20format)%20and%20return%20it%20back%20after%20file%20conversion.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-739559%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20convert%20imported%20date%20with%20different%20format%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-739559%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20a%20lot.%20Your%20%22Text%20to%20Column%22%20solution%20worked%20perfectly.%3C%2FP%3E%3C%2FLINGO-BODY%3E
RonnieSilva
New Contributor

I import data from another system that generates a CSV file with dates formatted as MM/DD/YYYY, but my Excel is in Portuguese language, and our standard is DD/MM/YYYY. Even if I try to change the date format in that column to English (USA), nothing happens, and the months and dates continue inverted. Is there any way I can fix it?

2 Replies

@RonnieSilva 

 

If your dates are in same column(s) you may use Text to Columns to them applying proper date format on third step of the wizard. That works column by column. If you have few, better not to open csv but import it into blank file, same conversion could be applied to all columns with dates.

 

If dates are placed randomly with the file, when change locale setting temporary (Win+R, control international, short date format) and return it back after file conversion.

Highlighted

@Sergei Baklan 

 

Thanks a lot. Your "Text to Column" solution worked perfectly.

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies