Solaris Daylight Saving Time (DST) Update

Moderator: cah

Post Reply
cah
General of the Army / Fleet Admiral / General of the Air Force
General of the Army / Fleet Admiral / General of the Air Force
Posts: 1342
Joined: Sun Aug 17, 2008 5:05 am

Solaris Daylight Saving Time (DST) Update

Post by cah »

https://support.oracle.com/CSP/ui/flash ... 45.1%29%29

SPARC Platform

Solaris 8 without patch 109809-17
Solaris 9 without patch 113225-29
Solaris 10 without patch 146470-04

x86 Platform

Solaris 8 without patch 109810-17
Solaris 9 without patch 116545-27
Solaris 10 without patch 146471-04

[The extension zip has been deactivated and can no longer be displayed.]

CAH, The Great
cah
General of the Army / Fleet Admiral / General of the Air Force
General of the Army / Fleet Admiral / General of the Air Force
Posts: 1342
Joined: Sun Aug 17, 2008 5:05 am

Checking Dayligh Saving Time on server

Post by cah »

Using the following command to find daylight saving time for different time zones.
$TZ is an environment variable set in /etc/TIMEZONE (symbolic link to /etc/default/init).

Code: Select all

%/usr/sbin/zdump -v $TZ | grep 2012
US/Eastern  Sun Mar 11 06:59:59 2012 UTC = Sun Mar 11 01:59:59 2012 EST isdst=0
US/Eastern  Sun Mar 11 07:00:00 2012 UTC = Sun Mar 11 03:00:00 2012 EDT isdst=1
US/Eastern  Sun Nov  4 05:59:59 2012 UTC = Sun Nov  4 01:59:59 2012 EDT isdst=1
US/Eastern  Sun Nov  4 06:00:00 2012 UTC = Sun Nov  4 01:00:00 2012 EST isdst=0
%echo $TZ
US/Eastern

%/usr/sbin/zdump -v $TZ | grep 2012
US/Pacific  Sun Mar 11 09:59:59 2012 UTC = Sun Mar 11 01:59:59 2012 PST isdst=0
US/Pacific  Sun Mar 11 10:00:00 2012 UTC = Sun Mar 11 03:00:00 2012 PDT isdst=1
US/Pacific  Sun Nov  4 08:59:59 2012 UTC = Sun Nov  4 01:59:59 2012 PDT isdst=1
US/Pacific  Sun Nov  4 09:00:00 2012 UTC = Sun Nov  4 01:00:00 2012 PST isdst=0
%echo $TZ
US/Pacific
Notice: If zdump is run for current year, there will be an extra entry on top of the output and it will be the time it was run.

Code: Select all

%/usr/sbin/zdump -v $TZ | grep 2011
US/Eastern  Tue Nov 15 20:30:22 2011 UTC = Tue Nov 15 15:30:22 2011 EST isdst=0
US/Eastern  Sun Mar 13 06:59:59 2011 UTC = Sun Mar 13 01:59:59 2011 EST isdst=0
US/Eastern  Sun Mar 13 07:00:00 2011 UTC = Sun Mar 13 03:00:00 2011 EDT isdst=1
US/Eastern  Sun Nov  6 05:59:59 2011 UTC = Sun Nov  6 01:59:59 2011 EDT isdst=1
US/Eastern  Sun Nov  6 06:00:00 2011 UTC = Sun Nov  6 01:00:00 2011 EST isdst=0

%/usr/sbin/zdump -v $TZ | grep 2011
US/Pacific  Tue Nov 15 20:34:27 2011 UTC = Tue Nov 15 12:34:27 2011 PST isdst=0
US/Pacific  Sun Mar 13 09:59:59 2011 UTC = Sun Mar 13 01:59:59 2011 PST isdst=0
US/Pacific  Sun Mar 13 10:00:00 2011 UTC = Sun Mar 13 03:00:00 2011 PDT isdst=1
US/Pacific  Sun Nov  6 08:59:59 2011 UTC = Sun Nov  6 01:59:59 2011 PDT isdst=1
US/Pacific  Sun Nov  6 09:00:00 2011 UTC = Sun Nov  6 01:00:00 2011 PST isdst=0
CAH, The Great
Post Reply