On Sun, 6 May 2001 08:11:02 +0530, Abhijit Menon-Sen said:

> On 2001-05-05 20:58:11, [EMAIL PROTECTED] wrote:
>  > 
>  > which date format are you recommending that we use as the "common
>  > language"?
>  
>      datetime := date "T" time
>  
>      date     := year month day
>      year     := 4*( "0" .. "9" )
>      month    := "01" .. "12"
>      day      := "01" .. "31"
>  
>      time     := hour minute second *( zone )
>      hour     := "00" .. "23" # midnight is 00:00, not 24:00.
>      minute   := "00" .. "59"
>      second   := "00" .. "59" *( "." 1*( "0".."9" ) )
>      zone     := "Z" | ( ("+" | "-" ) hour minute )
>  
>  Comments?
>  
>  Now is about 20010506T073000+0530 localtime, which is 20010506T020000Z.
>  Or, if you want millisecond precision, 20010506T073000.000+0530.

This timezone representation makes a lot of sense, and is easy to work with.
There's also, however, all of that named timezone nonsense ("UTC", "EST", and
so on) which are much harder to work with, as you presumably have to have a
comprehensive lookup table somewhere. Is this the fairly standard (or at least
conventional) way to deal with it?

-- 
Rich Bowen - [EMAIL PROTECTED]
As we trace our own few circles around the sun
We get it backwards and our seven years go by like one
        Dog Years (Rush - Test for Echo - 1999)


Reply via email to