1834220 Members
2546 Online
110066 Solutions
New Discussion

time change this Sat.

 
SOLVED
Go to solution
Erik Voelker_1
Advisor

time change this Sat.

How can I find out the exact time that my HPUX 9000 servers will fallback one hour during the daylight savings weekend?
6 REPLIES 6
Christopher Caldwell
Honored Contributor
Solution

Re: time change this Sat.

It's all cryptically spelled out in tztab (man tztab).
A. Clay Stephenson
Acclaimed Contributor

Re: time change this Sat.

It depends upons the 'rules' entry in /usr/lib/tztab.

Man 5 environ first and look at the 'TZ' entry and then man tztab. In any event, the answer to your question is dependent upon your particular TZ setting but the tztab will then give you the answer.

Clay
If it ain't broke, I can fix that.
Roger Baptiste
Honored Contributor

Re: time change this Sat.

hi,

/usr/lib/tztab contains
the details of the daylight
savings change.

the first two fields specify
the time.
the next four fields of
each entry give the details
on figuring out the date.

man 4 tztab gives the gory details.

cheers!
Take it easy.
Patrick Wallek
Honored Contributor

Re: time change this Sat.

Check out TKB article KBAN00000732. This explains time zones quite well.
Patrick Wallek
Honored Contributor

Re: time change this Sat.

Here's another TKB document that probably explains things better than the first one I posted. Doc ID: KBRC00000190

http://us-support3.external.hp.com/cki/bin/doc.pl/sid=6215f80c18e07ea15e/screen=ckiDisplayDocument?docId=200000053745977
James R. Ferguson
Acclaimed Contributor

Re: time change this Sat.

Hi Erik:

Look at '/usr/lib/tztab' and match your TZ environmental variable (see /etc/TIMEZONE) to the proper entry. 'man 4 tztab' describes the interpretation of these fields. To understand how 'cron' handles the daylight time change, see the man pages for 'cron' (1M).

Regards!

...JRF...