I imort a csv file which has a few columns. One of the columns is a date in the format dd.mm.yyyy but on import it is formatted as text. I sort the document based on date column hoping/expecting it be sorted chronologically but instead I get this 04.05.2010 04.06.2009 05.02.2010 05.06.2009 05.07.2010 I have been using openoffice for a few years now and its only with the latest release of openoffice and this release of libreoffice that I run into this. I have tried changing the text to date format but that makes no difference. It only adds ' infront of text. What is the problem here?
Try checking "Detect special numbers" in the CSV import options dialog. That will likely detect those date strings and turn them into date numbers.
Thank you this worked.
Good to hear that. Closing.
Hey! I checked "Detect special numbers" in the CSV import options dialog but it keeps sorting lexicographically.
(In reply to comment #4) > Hey! > > I checked "Detect special numbers" in the CSV import options dialog but it > keeps sorting lexicographically. Sorry, I left some details behind. I have 01/09/2010 12:35:06 AM 01/09/2010 7:43:34 PM 01/09/2010 7:44:35 PM 01/11/2009 5:50:28 PM "Sort" command did this. I know that a "workaround" is to set date format to YYYY/MM/DD, but I didn't want that. Besides, I guess it should be expected the correct time sorting but lexical one. Still, are there any chances in locale settings affecting this?
Hi Paolo, (In reply to comment #5) > Still, are there any chances in locale settings affecting this? I think it is better to ask on the user list to find out what can be done with these settings. Kind regards, Cor