Edward E Jaffe wrote:
> You don't "fall back" from CST. You "spring forward" to CDT,
> which is -0500!
Correct. And, springing forward from -8 (PST) yields -7 (PDT),
which was the actual time zone offset of the system on which I
executed the demo program:
> I was confused about the time zone on the machine on which I
> tested the code. I have access to systems with various time
> zone offsets.
>
> That was really PDT (Pacific Daylight Time), _NOT_ Central
> Daylight Time (CDT) as I stated.
>
> PST = UTC - 8
>
> PDT = PST + 1 "spring forward"
>
> PDT = UTC - 7
LOCAL TIME = GMT TOD + CVTLDTO - CVTLSO
CVTLDTO - CVTLSO = LOCAL TIME - GMT TOD
CVTLDTO = LOCAL TIME - GMT TOD + CVTLSO
GMT: 22:57:14.9007710000 2008/03/10 (UTC [most call it GMT])
LOCAL: 15:56:51.9007710000 2008/03/10 (Pacific Daylight Time)
------------------- =====================
-07:00:23 (LOCAL TIME - GMT TOD) = (CVTLDTO - CVTLSO)
+ + :23 (LSO [actual, current value])
---------
-07:00:00 (LDTO)
--
WB
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html