Friday, January 26, 2007

Is your OS(Solaris) patched for DST 2007 Changes

How do you check whether your OS(Solaris) is Patched or not for DST 2007 Changes?

Here is the command to check whether your OS(Solaris) is patched or not for DST 2007 Changes.

Login to the Solaris Server. Execute the following command.

$ zdump -v US/Pacific | grep 2007
US/Pacific Fri Jan 26 21:19:27 2007 UTC = Fri Jan 26 13:19:27 2007 PST isdst=0
US/Pacific Sun Apr 1 09:59:59 2007 UTC = Sun Apr 1 01:59:59 2007 PST isdst=0
US/Pacific Sun Apr 1 10:00:00 2007 UTC = Sun Apr 1 03:00:00 2007 PDT isdst=1
US/Pacific Sun Oct 28 08:59:59 2007 UTC = Sun Oct 28 01:59:59 2007 PDT isdst=1
US/Pacific Sun Oct 28 09:00:00 2007 UTC = Sun Oct 28 01:00:00 2007 PST isdst=0


If the output is similliar to the above then your OS(Solaris) is not pached for DST 2007 changes.

For patched environment you will get the following output.

$ zdump -v US/Pacific | grep 2007
US/Pacific Fri Jan 26 21:20:39 2007 UTC = Fri Jan 26 13:20:39 2007 PST isdst=0
US/Pacific Sun Mar 11 09:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 PST isdst=0
US/Pacific Sun Mar 11 10:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 PDT isdst=1
US/Pacific Sun Nov 4 08:59:59 2007 UTC = Sun Nov 4 01:59:59 2007 PDT isdst=1
US/Pacific Sun Nov 4 09:00:00 2007 UTC = Sun Nov 4 01:00:00 2007 PST isdst=0


Note: Please note that the Energy Policy Act of 2005 was signed into law in August 2005 to extend daylight saving time. Begining in 2007, daylight saving time in the U.S will begin on the second Sunday in March and end the first Sunday in November rather than begining on the first Sunday in April and ending the last Sunday in October, as it did in the past. This change affects Canada as well. Mexico is still using the old DST rules.

To know more about DST please check my other blog at this site:
http://ebsappsdba.blogspot.com/2007/01/daylight-saving-time.html

No comments: