Operating System - HP-UX
1827136 Members
3035 Online
109716 Solutions
New Discussion

How to set TZ variable for GMT - 6 timezone

 
SOLVED
Go to solution
Wendy Paez
New Member

How to set TZ variable for GMT - 6 timezone

I live in El Salvador (Central America) and have to set the timezone to GMT-6 but I don't know which value to set to TZ variable.
I have found the value for Mexico but Mexico uses Daylight Saving Times (on Sept. they change 1 hour forward), here in El Salvador we don't at all. Which is the correct value for El Salvador?
6 REPLIES 6
Steven Sim Kok Leong
Honored Contributor

Re: How to set TZ variable for GMT - 6 timezone

Hi,

I did a search. GMT-6 is correct.

The below link gives more information and contains a link to the explanation.

http://www.holidayfestival.com/ElSalvador.html

Hope this helps. Regards.

Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
Curtis Larson_1
Valued Contributor

Re: How to set TZ variable for GMT - 6 timezone

have you tried using /sbin/set_parms timezone

or you could try TZ=SAT5
Curtis Larson_1
Valued Contributor

Re: How to set TZ variable for GMT - 6 timezone

oops that was for ecuador

central america is CST6CDT
Curtis Larson_1
Valued Contributor
Solution

Re: How to set TZ variable for GMT - 6 timezone

and for no daylight savings time it is just:
CST6
Curtis Larson_1
Valued Contributor

Re: How to set TZ variable for GMT - 6 timezone

and if you'd like to have a little documentation to reference try, man 5 environ