Daylight Savings Time Change

So I've been spending the last couple of days updating servers and such for the change in DST. Basically the law govnerning DST was changed. It used to be first Sunday of April to the last Sunday in October. It's now changed to the second Sunday in March to the first Sunday in November.


  1. Check the time zone as it currently is...
    $ zdump -v /etc/localtime | grep 2007

    Should come back with something like this...
    /etc/localtime  Sun Apr  1 07:59:59 2007 UTC = Sun Apr  1 01:59:59 2007 CST isdst=0 gmtoff=-21600
    /etc/localtime  Sun Apr  1 08:00:00 2007 UTC = Sun Apr  1 03:00:00 2007 CDT isdst=1 gmtoff=-18000
    /etc/localtime  Sun Oct 28 06:59:59 2007 UTC = Sun Oct 28 01:59:59 2007 CDT isdst=1 gmtoff=-18000
    /etc/localtime  Sun Oct 28 07:00:00 2007 UTC = Sun Oct 28 01:00:00 2007 CST isdst=0 gmtoff=-21600


  2. In a my downloads directory I created a directory and changed to it...
    $ mkdir tzdata
    $ cd txdata

  3. Download the update TZ files from Uncle Sam...
    $ wget ftp://elsie.nci.nih.gov/pub/tzdata2007c.tar.gz

  4. Untar the files...
    $ tar -xzvf tzdata2007c.tar.gz

  5. Format the timezone files to the proper format...
    # zic -d zoneinfo northamerica

  6. Copy the new files into the live system...
    # cd zoneinfo
    # cp -r * /usr/share/zoneinfo/

  7. Check to ensure it's updated correctly...
    $ zdump -v /etc/localtime | grep 2007

    Should come back with something like this...
    /etc/localtime  Sun Mar 11 07:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 CST isdst=0 gmtoff=-21600
    /etc/localtime  Sun Mar 11 08:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 CDT isdst=1 gmtoff=-18000
    /etc/localtime  Sun Nov  4 06:59:59 2007 UTC = Sun Nov  4 01:59:59 2007 CDT isdst=1 gmtoff=-18000
    /etc/localtime  Sun Nov  4 07:00:00 2007 UTC = Sun Nov  4 01:00:00 2007 CST isdst=0 gmtoff=-21600