Re: daylight savings time
Cheryl Homiak <firstname.lastname@example.org> writes:
> My clock has allways automatically done this change, but not this
> year! I wonder why.
Under Linux/Unix, the clock doesn't change; it's always set to Greenwich
Mean Time. The value of your TZ environment variable determines how
software interprets that time. If TZ is set appropriately, then when DST
begins, your software will start interpreting the time as daylight
savings, and it will appear that your clock has changed. However, it
hasn't changed; just the external representation has changed.
In general, TZ should get set correctly if the /etc/localtime file
contains the correct timezone info file. You can copy a file from
/usr/share/zoneinfo to /etc/localtime, or use the tzconfig program,
which does essentially the same thing.
Dave Carrigan (email@example.com) | Yow! I once decorated my
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS | apartment entirely in ten foot
Seattle, WA, USA | salad forks!!
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com