And locale is represented by the format string. The only problem is am/pm. Possibly HH vs hh is 12| or full hour and #am#pm# defines values for <.%12 part of hour
Oleg On Oct 31, 2007, at 1:38, Roger Hui <[EMAIL PROTECTED]> wrote: The numeric result of 6!:0 already reflects the time zone, daylight saving time, etc. according to the settings in the underlying system. The extension merely formats this numeric result. ----- Original Message ----- From: bill lam <[EMAIL PROTECTED]> Date: Tuesday, October 30, 2007 22:20 Subject: Re: [Jprogramming] Current time: behaviour To: Programming forum <[email protected]> I agree with Mark. Timestamp format is heavily dependent on locale (language and country). Handling time zones are equally problematic because daylight saving changes for each year and each country that can not be predicted. I would rather like to have the proposed extension reverted. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
