Hi Claus,
(Saturday May 16 1998 20:25) Claus Mueller to John Hentsch about:
DST-calculation revised
CM> Some extra bytes to spare?
CM> change the above like below:
CM> :setGTZ, fourth version by (TM)
CM> set Daytm=%@doy[4-%@eval[8-%@dowi[4-7-%_year]]-4-%_year].02
CM> set Stdtm=%@doy[10-%@eval[32-%@dowi[10-31-%_year]]-%_year].02
CM> set toDay=%@doy[%_date].%@right[2,0%_hour]
CM> set GTZ=UTC+%@if[%toDay ge %Daytm .and. %toDay lt %Stdtm,7,8]
CM> unset toDay Daytm Stdtm
CM> return
And *yes*, he does it again: use my own tricks against me... ;-)))
Very well, I'm off to my corner, getting purple with shame...
Mene Sakkhet Ur-Seveh,
Ted Menks 2:2449/236.51 / 2:284/412.51 PGPkey: 2048/1B2ACCED (by RRQ)
... If at first you don't succeed, have somebody else do it for you!
--- 4Dos v6.01a ---
(2:2449/236.51)
---------------
* Origin: It's the 4Dos way! (Teddy's Land +49-5971-14966
|