Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!mentor.cc.purdue.edu!mace.cc.purdue.edu!abe From: abe@mace.cc.purdue.edu (Vic Abell) Newsgroups: comp.sys.next Subject: Re: How to set the time zone on a NeXT (under 0.8 at least) Summary: some may need to set DST flag Message-ID: <1687@mace.cc.purdue.edu> Date: 10 Feb 89 17:06:54 GMT References: <10176@ut-emx.UUCP> <1676@mace.cc.purdue.edu> Organization: Purdue University Lines: 16 I neglected to mention that it may also be necessary to teach the kernel about daylight savings time when setting minutesWest. For those in Illinois, for example, date -t 360 -d 1 would be the correct invocation. Apparently sendmail is based on the standard, Berkeley distribution, which uses the ftime() and timezone() functions to derive the time zone. Other programs that use tzset() and localtime() will use the zone information of the TZ environment variable and/or the file /etc/zoneinfo/localtime. So, you must make sure that you have the minutesWest and DST values set properly in the kernel and that you have /etc/zoneinfo/localtime linked to the correct time zone file in /etc/zoneinfo.