On Sun, 6 May 2001, Abhijit Menon-Sen wrote:

>     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 )

Looks fine to me. It brings up another issue for me though....
timezones. If I use that datetime representation  to represent the
start and end of a time period, and the time period spans a switch
from daylight savings time to standard time, what's the best
standard way to represent that? Depending on the time of year, I
might experience 1 hour of clock time as 2 hours of body time, or
vice versa. 

srl
--
Shane R. Landrum         [EMAIL PROTECTED] 
we generate our own light to compensate for the lack of light from above -AD
GPG public key: http://cs.smith.edu/~slandrum/srl_pgpkey.txt

Reply via email to