From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078718212011.tru64-unix-managers.marc@archive.invalid> From: Richard Tame Date: Fri, 28 Aug 1998 09:48:10 +0000 To: tru64-unix-managers Subject: [SUMMARY] /etc/TIMEZONE ... What's it for? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078718212011 My second posting was: >>My original posting was: >> >>>Hi all, >>> >>>I have a vendor onsite who is working on our Year 2000 version of an >>>application we run. In the past this vendor has had it's own timezone >>>calculation. When we have daylight savings (summer time) we need to >manually >>>edit the file and restart the system. >>> >>>With the new version they tell me they use the /etc/TIMEZONE file. I have >>>seen this file on my systems but it has no content anywhere. >>> >>>My question is, does anybody know how to use this file, is it automatic at >>>summer time change over and stuff like that. >> >>Well, Not much luck unfortunately. Thanks to the following respondents: >>Ian Mortimer >>Jim Smart >>Hugh Pritchard >>Dejan Muhamedagic >> >>While each person was able to show me something about the timezoning that I didn't know, nobody has >>been able to answer the exact question. It has been pointed out that this file exists empty on DU >>systems and is called from /etc/profile. >> >>According to my third party developer, they say the content of the file should be: >> >> TZ=EST-11 >> export TZ >> >>They assure me this will change automatically at daylight savings time. >> >>Does anybody else on this list use this file? >> >>Do any of the Digital/Compaq employees on the list have any idea? >> >>There does not appear to be any documentation for this file. Can anybody help please. Now I have some better info for you all. Firstly my thanks to the second round of respondents: Mark Allen Peter Stern Scooter Morris Alan Davis Francisco Javier Cobas Seoane I now know /etc/TIMEZONE is an historical System V feature. It appears it is near retirement as it is only referenced in the /etc/profile file. It was used to define the TZ variable to handle users in multiple timezones. It appears the file will not change automatically (unless you follow the quite convoluted instruction in the system administration guide). Also the file needs to be changed manually if the daylight/summer time rules change. Overall it seems like a bad idea to have a system/application using the /etc/TIMEZONE file. I think I will be having words with the vendor to use the DU timezone file which so many of you have explained how they work... Thanks again for your help. ___ ___ | \/ | Richard Tame Level B3 \ /\ / Systems Specialist 20 Bond Street \/ \/ Australian Stock Exchange Sydney NSW 2000 / \ Email : Richard.Tame@asx.com.au Australia / \ Phone : 61 2 9227 0171 |___/\___| Fax : 61 2 9227 0888 ** Any opinion stated is mine and not always the same as that of my employer. **