Operating System - HP-UX
1753856 Members
7130 Online
108809 Solutions
New Discussion

Re: Change Timezone 11.31

 
SOLVED
Go to solution
Phalgun
Occasional Advisor

Re: Change Timezone 11.31

Thanks, that clear some confusion since on some other platforms(like Linux,SunOs,AIX) when offset value is not provided, it still gives the correct results as the STD specified and not UTC. But, I believe that is the way HP-UX implements it.

Dennis Handly
Acclaimed Contributor

Re: Change Timezone 11.31

>that is the way HP-UX implements it

 

tztab(4) only implements matches of the TZ string.  So if the offset isn't encoded, that STD only entry would have to be in tztab.  And since the major purpose of tztab is to match DST changes, they usually have all three fields.

 

>other platforms (like Linux,

 

A quick check with Linux, if you use MST, it understands it.  But not MDT.  So this "feature" is useless in the US for more than half the year.  And for Linux, they are more apt to use the Java style: TZ=:region/city