TIP: Click on subject to list as thread! ANSI
echo: 4dos
to: CLAUS MUELLER
from: JOHN HENTSCH
date: 1998-05-18 09:31:00
subject: Re: DST-calculation revised

In a message to John Hentsch  Claus Mueller wrote:
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
Wholly cow, your two guys are making this routine tiny! Very good.
jh -
 * WCE 2.1G1/2241 * 
--- ViaMAIL!/WC4 v1.40j
---------------
* Origin: Mail Box BBS Glendora, CA USA (1:218/907)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.