From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078611110108.tru64-unix-managers.marc@archive.invalid> From: "Matthew Calthrop +44 (0) 171 542 5317" Date: Tue, 01 Apr 1997 17:21:15 +0000 To: tru64-unix-managers Subject: SUMMARY: Daylight Saving - setting system time X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078611110108 Solution was to create a link (symbolic, or hard) called localtime in /etc/zoneinfo to point to the correct file. In my case: # cd /etc/zoneinfo # ln -s ./GB-Eire localtime and of course now I have to go and change the system time back an hour. thanks to those who responded double-time! Miguel Mena (migi@zuo.dec.com) Sheila Hollenbaugh (shollen@cs.wright.edu) Eric Z. Ayers (eric@compgen.com) Alan Oborne (OBORNE@CARDIFF.AC.UK) Lucio Chiappetti (lucio@ifctr.mi.cnr.it) Matt matthew.calthrop@reuters.com Reuters London Original posting: > All, > > I am having problems setting the system time to reflect the change to daylight > saving. After having checked as many man pages as I know, I have still no idea. > This is what I have done, all *before* daylight saving was due to begin: > > 1. Ran timezone, and selected "GB-Eire" and yes to daylight saving. > > 2. Added two lines to /etc/zoneinfo/sources/europe to set start and end dates of > British Summer Time (BST): > > Rule GB-Eire 1997 only - Mar 23 1:00s 1:00 BST > Rule GB-Eire 1997 only - Oct Sun>=23 1:00s 0 GMT > > 3. Ran zic against this file. > > System date did not change over on the date specified. > > I have changed the system date to reflect BST (change to single-user mode, set > using the "date" utility, issue "mount -u /"), but the "date" utility still > returns a "GMT" time. > > Note that originally when I did this, the start of BST was actually the > incorrect date (should have been 29 March), but the system still did not > automatically change over on 23 March.