Time Zone

From MattWiki
Jump to: navigation, search

Set Time Zone

cp /usr/share/zoneinfo/America/Chicago /etc/localtime

Day Light Savings Time Zone Change for 2007

To fix your time zone issues... For those systems that are out of date. Suse9.3, Redhat 9 and earlier...

You can see whether your time zone setup is correct:

/usr/sbin/zdump -v -c 2008 'America/Chicago'|grep 2007

If you don't get Mar 11 and Nov 4 then you need to fix it...

First backup existing zone info

cd /usr/share && tar czf zoneinfo_2006_10_27.tar.gz zoneinfo

Then Get new zone info from gov (note file name changes on occasion:

mkdir /tmp/zoneinfo
cd /tmp/zoneinfo
wget ftp://elsie.nci.nih.gov/pub/tzdata2007a.tar.gz
tar xzpf tzdata2007a.tar.gz
/usr/sbin/zic northamerica

And test it:

/usr/sbin/zdump -v -c 2008 'America/Chicago'|grep 2007

Should result in Mar 11 and Nov 4 for time change.