1832023 Members
3239 Online
110034 Solutions
New Discussion

TIMEZONE qusetion

 
Aviad Twina
Advisor

TIMEZONE qusetion

Hi all,
I've few hpux 11.00 servers.
last week we have changed the timezone from daylight saving time to standard time (Israel).
Today we've noticed that all the files we are writing to our filers ( netapps ) are 1 hour ahead.
My /etc/TIMEZONE file shows the following:
TZ=IST-2IDT
export TZ

My question is how to fix the problem so the timezone will show IST instead of IDT ?

Thanks,
Aviad
4 REPLIES 4
Brian Bergstrand
Honored Contributor

Re: TIMEZONE qusetion

Were the processes that are writing the files running before the change? If so, they will still have the old TIMEZONE setting. To get the new one, you will have to restart them.

Cron will also fall under this problem. It will have the old TIMEZONE setting and anything launched from cron will pick that up. You should restart that as well.

HTH.
Michael Steele_2
Honored Contributor

Re: TIMEZONE qusetion

IST = I standard time
2 = 2 hours offset from Greenwich Mean or Zulu time
IDT = I daylight time.

There should be no '-'.

export TZ=IST2IDT

Update in /etc/profile.
Support Fatherhood - Stop Family Law
A. Clay Stephenson
Acclaimed Contributor

Re: TIMEZONE qusetion

Since this is east of Greenwich, the "-" is appropriate.
If it ain't broke, I can fix that.
Aviad Twina
Advisor

Re: TIMEZONE qusetion

The machine was rebooted, so there is no need to restart the cron or any other service.
As for the "-" , i've tried with and without the "-" but still the IDT apperas.
More ideas ?
Thanks,
Aviad