How to format text values (dd.mm.yy) as date?
Posted: Sun Jun 22, 2008 8:40 am
Hi,
There is an existing spreadsheet containing date values in the format dd.mm.yy. The cells are formatted as Text.
My system (Ubuntu Linux) language is English, and in a newly created spreadsheet I can enter dates in formats like mm/dd/yy or yyy-mm-dd (but not in the format dd.mm.yy (as that's not listed in the date format listbox of the cells formatter dialog)).
Now when I try to reformat the cells mentioned at first to become "dates", their format does but their values does not (actually). Instead Calc adds a leading apostrophe (') to their values.
Finally I would like to sort the spreadsheet by the values of those cells, thus I'd like to have them in either one of these formats: a) yyyy-mm-dd (Text) or b) anything (Date). - How to accomplish that.
I could think of writing some ugly macro (does some beautiful macro already exist? ) or resetting my locale settings temporarily (how?).
Any ideas?
Thanks!
There is an existing spreadsheet containing date values in the format dd.mm.yy. The cells are formatted as Text.
My system (Ubuntu Linux) language is English, and in a newly created spreadsheet I can enter dates in formats like mm/dd/yy or yyy-mm-dd (but not in the format dd.mm.yy (as that's not listed in the date format listbox of the cells formatter dialog)).
Now when I try to reformat the cells mentioned at first to become "dates", their format does but their values does not (actually). Instead Calc adds a leading apostrophe (') to their values.
Finally I would like to sort the spreadsheet by the values of those cells, thus I'd like to have them in either one of these formats: a) yyyy-mm-dd (Text) or b) anything (Date). - How to accomplish that.
I could think of writing some ugly macro (does some beautiful macro already exist? ) or resetting my locale settings temporarily (how?).
Any ideas?
Thanks!