1837900 Members
3346 Online
110123 Solutions
New Discussion

Re: Time change

 
SOLVED
Go to solution
Craig A. Sharp
Super Advisor

Time change

Hello,

I am a bit confused on the upcoming time change.
I am in Michigan. Normally, I am 5 hours behind GMT. In the spring we move forward 1 hour and in the fall we move back one hour. We are currently 4 hours behind GMT. This Sunday morning we will be 5 hours behind GMT.

My TZ variable currenly reads:

EST5EDT

Here is my tztab file:

# Eastern Standard Time, Eastern Daylight Time
EST5EDT
0 3 24-30 4 1970-1973 0 EDT4
0 3 6 1 1974 0-6 EDT4
0 3 22-28 2 1975 0 EDT4
0 3 24-30 4 1976-1986 0 EDT4
0 3 1-7 4 1987-2038 0 EDT4
0 1 25-31 10 1970-1973 0 EST5
0 1 24-30 11 1974 0 EST5
0 1 25-31 10 1975-2038 0 EST5

I have looked at the man page for tztab and it is quite confusing. Based on this information, how can I be sure that the time change will occur as required.

Thanks,

Craig A. Sharp
5 REPLIES 5
James R. Ferguson
Acclaimed Contributor
Elizabeth_2
Valued Contributor

Re: Time change

Remember the timezone variable you should modify the TZ variable in
each of these HP-UX supplied files:

/etc/rc : for processes that are children of init, like cron
/etc/profile : for users of /bin/sh or /bin/ksh
/etc/csh.login : for users of /bin/csh
/etc/mkrs : for HP-UX recovery system

So, if users report that their time is incorrect after the change you can check
any of the above files.
Craig A. Sharp
Super Advisor

Re: Time change

Thanks for the info. This system does not have users. It is a database server for Peoplesoft. I checked the files out and also the provided links and I am comfortable about the time change now.

Thanks for the replies.

Craig
James R. Ferguson
Acclaimed Contributor

Re: Time change

Craig:

Thanks ARE appreciated. Points for those who help are also very much appreciated.

...JRF...
Craig A. Sharp
Super Advisor

Re: Time change

James,

I would be glad to assign points.

Craig