Am 09.09.2012 11:54, Tinkerer wrote:
Use the extension CT2N. It Converts Text to Numbers. Simples. Tink.
Nobody needs to install any extension to convert between numbers and text. CT2N may fail in this situation (dmy vs. mdy). If all the dates have been imported as text, a simple regex replacement converts in both directions. It would be better to simply import correct values instead of fixing wrongly imported ones.
James knows how to import correct values but he expects automagic number formatting. The program should analyse the assumed formatting of the input strings and apply the corresponding number format codes to the respective target cells. Spreadsheets don't do that. Formatting has zero relevance for the tasks spreadsheets are designed for. Only values (numbers) are relevant.
James Majeske wrote:
I receive dates in three different formats; big endian [31 Dec 2012], mixed endian [Dec 31, 2012], and small endian [2012-12-31] (also known as ISO8601).
With US loale setting and "detect special numbers" any of the above input strings yield cell value 41274 preformatted to show 41274 as "12/31/12" which is obviously and unambiguously the correct value. This value can be formatted at will and sorted by its numeric value.
-- For unsubscribe instructions e-mail to: users+help@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted