1834058 Members
2291 Online
110063 Solutions
New Discussion

time zone question again

 
SOLVED
Go to solution
navin
Super Advisor

time zone question again

Hello All,
I have tried timezone change on my hpux server 11.23. It is prompting with limited time zone info. I need to select GMT.
How should i do that.Please help
Thanks
Learning ...
2 REPLIES 2
Dave Hutton
Honored Contributor

Re: time zone question again

You can use:
#set_parms timezone

To set the timezone.
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: time zone question again

Forget all that prompting stuff. Unless you have "improved" /etc/profile so that it no longer sources /etc/TIMEZONE, simply edit /etc/TIMEZONE and set
TZ=GMT0
export TZ

Reboot your box and declare victory.


Note that individual users will still be able to set their TZ's to anything they like --- just as they should. A UNIX box might have connections from all over the planet and the time will be displayed correctly. TZ only changes how the time data are displayed not how they are stored which is always epoch seconds (seconds since 00:00:00 1-Jan-1970 UTC).
If it ain't broke, I can fix that.