Daylight Savings Time check on Redhat
Posted on | April 2, 2009 | 3 Comments
The command I’m using to check that DST will change at the right time reads out of the tzdata file:
zdump -v Australia/Sydney | grep 2008
It returns output like so:
Australia/Sydney Sat Apr 5 15:59:59 2008 UTC = Sun Apr 6 02:59:59 2008 EST isdst=1 gmtoff=39600
Australia/Sydney Sat Apr 5 16:00:00 2008 UTC = Sun Apr 6 02:00:00 2008 EST isdst=0 gmtoff=36000
Australia/Sydney Sat Oct 4 15:59:59 2008 UTC = Sun Oct 5 01:59:59 2008 EST isdst=0 gmtoff=36000Australia/Sydney Sat Oct 4 16:00:00 2008 UTC = Sun Oct 5 03:00:00 2008 EST isdst=1 gmtoff=39600
Good for checking that your clocks are in order!
Comments
3 Responses to “Daylight Savings Time check on Redhat”
Leave a Reply
April 24th, 2009 @ 6:35 pm
Keep up the good work.
May 4th, 2009 @ 10:29 pm
You are still a nerd. But i <3 you.
May 30th, 2009 @ 3:40 pm
You really like the time!