From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,e29007904776dcce X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-03-26 09:47:21 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: mjm214@bellsouth.net (Martin Moore) Newsgroups: comp.unix.tru64 Subject: Re: Timezone adjustment (tzfile format question) Date: 26 Mar 2002 09:47:20 -0800 Organization: http://groups.google.com/ Message-ID: References: <6445524b.0203251238.73ee489@posting.google.com> NNTP-Posting-Host: 207.18.199.151 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1017164840 18021 127.0.0.1 (26 Mar 2002 17:47:20 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 26 Mar 2002 17:47:20 GMT Xref: archiver1.google.com comp.unix.tru64:7121 dub@latnet.lv (Dub) wrote in message news:<6445524b.0203251238.73ee489@posting.google.com>... > Hi, > > I'm not sure how to set the exact moment of enabling/disabling > daylight settings. > > man page for tzfile(4) tells that component 'time' of environment > variable TZ > 'Describes the time when, __in current time__, the change to or return > from alternative time occurs'. > > Let's take a definition from time zone source file > /etc/zoneinfo/sources/europe > > Rule E-Eur 1981 max - Mar lastSun 3:00s 1:00 > " DST" > Does it mean that local time at 2:59:59 EET will jump to 4:00:00 EET > DST? > > Rule E-Eur 1996 max - Oct lastSun 3:00s 0 > - > Does it mean that local time at 3:59:59 EET DST will jump to 3:00:00 > EET? > > > Many thanks in advance for your comments! > > BR, > Dub You are correct. The "s" suffix in "3:00s" means use standard time, i.e., change at 0300 local standard time. If you use the "w" suffix, or no suffix, it means use "wall clock" time, i.e., current local time. The man page for zic(8) is a little more informative than the one for tzfile(4). Martin