Operating System - HP-UX
1833768 Members
2163 Online
110063 Solutions
New Discussion

Re: Time zone information

 
SOLVED
Go to solution
aruns_s
Frequent Advisor

Time zone information

Is there any comand in HPUX from which we can get timezone information.Similar one in sun is 'zdump'
8 REPLIES 8
RAC_1
Honored Contributor

Re: Time zone information

How does zdump information look like?? What exactly you are looking for??
There is no substitute to HARDWORK
Senthil Kumar .A_1
Honored Contributor
Solution

Re: Time zone information

Hi,

#cat /etc/TZ

Regards,
Senthil Kumar .A
Let your effort be such, the very words to define it, by a layman - would sound like a "POETRY" ;)
Ganesha Sridhara
Honored Contributor

Re: Time zone information

TZ environment variable in HP-UX stores the timezone.

Display TimeZone:
The command echo $TZ
IST-5:30

Please visit this link for more detail:
http://www.faqs.org/faqs/hp/hpux-faq/section-167.html

HTH

Regards
Ganesha Sridhara

Senthil Kumar .A_1
Honored Contributor

Re: Time zone information

Hi,

Ignore my previous post...

it is..

#cat /etc/TIMEZONE

If you want to change it ,you can do it using the command,


#set_parms timezone

Regards,
Senthil Kumar .A
Let your effort be such, the very words to define it, by a layman - would sound like a "POETRY" ;)
Senthil Prabu.S_1
Trusted Contributor

Re: Time zone information

Hi,
I guess zdump is also available in HPUX.
One man's "magic" is another man's engineering. "Supernatural" is a null word.
Muthukumar_5
Honored Contributor

Re: Time zone information

echo ${TZ}

will give that.

Timezone configuration is done through /etc/TIMEZONE file.

To adjust timezone use /usr/lib/tztab file.

--
Muthu
Easy to suggest when don't know about the problem!
Yogeeraj_1
Honored Contributor

Re: Time zone information

hi,

also note that you can use the following command to set your timezone:
set_parms timezone

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Arunvijai_4
Honored Contributor

Re: Time zone information

http://www.unixguide.net/cgi-bin/unixguide.cgi


-Arun
"A ship in the harbor is safe, but that is not what ships are built for"