Daylight Saving Time (DST)

Hi,

To Support U.S Daylight Saving TIme, I have updated my Solaris server

(SunOS 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Blade-100)

with the following patches :

(1)109809-03

(2)108993-62

After this O.S patch upgradation, I found that on March 11, 01:59 AM 2007 the time goes ahead to March 11, 03:00 AM 2007 as expected.

But Fall back is not happening.

The expected behavior is, if the system date is Nov 04, 01:59 AM 2007 then time has to fall back to Nov 04, 01:00 AM 2007.

In my case the time goes to Nov 11, 02:00 AM 2007.

Do I need to install any other patches ?

How to achive the fallback of DST ?

Thanks in Advance

T.Ramkumar

[722 byte] By [tram] at [2007-11-26 11:22:24]
# 1
Hi,There is a typo error in the example given for fallback.Please read Nov 11, 02:00 AM 2007 as Nov 04, 02:00 AM 2007.Thanks T.Ramkumar
tram at 2007-7-7 3:37:45 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2
What if you wait another minute?This job is performed by a command called 'rtc' which is run from cron:1 2 * * * [ -x /usr/sbin/rtc ] && /usr/sbin/rtc -c > /dev/null 2>&1as you can see the cronjob runs at 02:01.. .7/M.
mAbrante at 2007-7-7 3:37:45 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 3

> After this O.S patch upgradation, I found that on

> March 11, 01:59 AM 2007 the time goes ahead to March

> 11, 03:00 AM 2007 as expected.

>

> But Fall back is not happening.

> The expected behavior is, if the system date is Nov

> 04, 01:59 AM 2007 then time has to fall back to Nov

> 04, 01:00 AM 2007.

> In my case the time goes to Nov 11, 02:00 AM 2007.

Please show how you are testing this. I imagine you are looking at the second 1:59am.

--

Darren

Darren_Dunham at 2007-7-7 3:37:45 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 4

> What if you wait another minute?

>

> This job is performed by a command called 'rtc' which

> is run from cron:

> 1 2 * * * [ -x /usr/sbin/rtc ] && /usr/sbin/rtc -c >

> /dev/null 2>&1

Not at all. Timezone settings are handled by library calls and no processes (from cron or otherwise) are involved.

All the rtc program does is reset the hardware clock to reflect possible timezone changes on x86 hardware. The program doesn't even exist on SPARC. This is because the SPARC clock ticks in UTC and isn't affected by timezone or DST transitions. Whereas most x86 clocks tick in local time for compatibility with windows. (You can change that if you only boot to UNIX operating systems).

--

Darren

Darren_Dunham at 2007-7-7 3:37:45 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 5

Hi All,

thanks for the response.

Darren I refered your previous posting and got the answer from the following link.

http://forum.sun.com/jive/thread.jspa?threadID=107416&tstart=90

Thanks for the quick response.

I tested with date -u and found that fallback from 1:59 am to 1:00 am happens.

T.Ramkumar

tram at 2007-7-7 3:37:45 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 6
Indeed. Good point, i should have done some more research before posting that post. .7/M.
mAbrante at 2007-7-7 3:37:45 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 7
Is there any impact from the Weblogic Server, Because i have applied the patch the Weblogic Server is not taking the Current Server Time after the CST into CDT
Gunanathan at 2007-7-7 3:37:45 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 8
I don't know anything about weblogic specifically, but it would be very unusual for an application (or an application interface like WL) to use anything other than the OS routines for time conversions.-- Darren
Darren_Dunham at 2007-7-7 3:37:45 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...