PDA

View Full Version : Date Format Options in OS5/T5?


Jeff DLB
11-05-2004, 09:01 PM
In Palm OS 4, the available date formats use a single digit for month and day when relevant. Also, years are written in 2 digits despite the Y2k lesson we should have learned. Thus, August 1 1942 would be written as 8/1/42 in D/M/Y format or 42-8-1 in Y-M-D format.

I like my dates in unambiguous YYYY-MM-DD format (ISO 8601), so I run DateFormatHack (http://www.fatal-error.com/software.html) to append a zero to all 1-digit values, yielding 42-08-01. Then, 19<shortcut>ds yields 1942-08-01.

Questions:
(1) Does OS5 offer fix OS4's provincialism by offering fixed 2-digit width months and days and 4-digit years?
(2) Will Tealmaster's hack emulation run on the T5 architecture?

Thanks for any info,
Jeff DLB

bonus points if you know whose birthdate that was.

oz-nom
11-05-2004, 10:21 PM
In Palm OS 4, the available date formats use a single digit for month and day when relevant. Also, years are written in 2 digits despite the Y2k lesson we should have learned. Thus, August 1 1942 would be written as 8/1/42 in D/M/Y format or 42-8-1 in Y-M-D format.

I like my dates in unambiguous YYYY-MM-DD format (ISO 8601), so I run DateFormatHack (http://www.fatal-error.com/software.html) to append a zero to all 1-digit values, yielding 42-08-01. Then, 19<shortcut>ds yields 1942-08-01.

Questions:
(1) Does OS5 offer fix OS4's provincialism by offering fixed 2-digit width months and days and 4-digit years?
(2) Will Tealmaster's hack emulation run on the T5 architecture?

Thanks for any info,
Jeff DLB

bonus points if you know whose birthdate that was.

Birthday: Jerry Garcia (Grateful Dead)?

Dates in OS5 are still single digit. Can arrange them any which way you want (D/M/Y, Y/M/D, M/D/Y), but I couldn't find any way to set preference to 2 digit day & month let alone 4 digit year.

Jeff DLB
11-06-2004, 08:40 PM
Birthday: Jerry Garcia (Grateful Dead)?

Dates in OS5 are still single digit. Can arrange them any which way you want (D/M/Y, Y/M/D, M/D/Y), but I couldn't find any way to set preference to 2 digit day & month let alone 4 digit year.

Thank you for your response (and correct answer to the birthday question). I find it unfortunate that PalmOS is still living in the age of Cobol and punched cards with respect to dates.

-Jeff DLB