From: Michael Fuhr (mfuhr@cwis.unomaha.edu)
Date: 08/01/93


From: mfuhr@cwis.unomaha.edu (Michael Fuhr)
Subject: Re: what time is it?
Date: Sun, 1 Aug 1993 15:36:51 GMT

antonyc@cco.caltech.edu (Antony Chan) writes:

>how is the time supposed to be set in a linux system?
>is the system clock supposed to be set to GMT, and then
>a time-zone set? i can't seem to find anything in the
>linux stuff that mentions this....

Read /usr/lib/zoneinfo/time.doc - it should tell you everything you
need to know. I keep my clock on GMT, with the files localtime and
posixrules linked to the file for my timezone. Here's a partial
listing of my /usr/lib/zoneinfo:

    lrwxrwxrwx 1 root root 10 Mar 9 16:38 localtime -> US/Central
    lrwxrwxrwx 1 root root 9 Mar 8 20:56 posixrules -> localtime

Individual users should be able to set the TZ environment variable if
they don't want to use the system-wide timezone. Example:

    % date
    Sun Aug 1 10:46:01 CDT 1993
    % setenv TZ GB-Eire
    % date
    Sun Aug 1 16:46:03 BST 1993