Operating System - HP-UX
1822878 Members
3751 Online
109645 Solutions
New Discussion юеВ

Re: Cambio de hora en Chile

 
Benjamin Galvez
Occasional Advisor

Cambio de hora en Chile

Hi all,

Lo lamento pero no hablo Ingles.

Quiero consultar si alguien conoce o sabe de alg├║n parche o actualizaci├│n para solucionar problema de cambio de hora en Chile que ahora por Decreto Supremo del Gobierno, este a├▒o 2008 excepcionalmente se realizar├б el ├║ltimo d├нa S├бbado de Maro y no el pr├│ximo S├бbado 8.
Lo que en resumen necesito, es actualizar y cambiar la zona horaria de Chile para que cambie la hora a fin de mes.
gracias.

Saludos
Benjam├нn
16 REPLIES 16
Rita C Workman
Honored Contributor

Re: Cambio de hora en Chile

BabelFish translaton:
The moan but I do not speak Ingles. I want to consult if somebody knows or knows of some patch or update to solve problem of change of hour in Chile that now by Supreme Decree of the Government, this year 2008 exceptionally will be made the last day Saturday of Maro and not the next Saturday 8. What in summary I need, is to update and to change the hour zone of Chile so that changes to the hour in order month thanks.



Pete Randall
Outstanding Contributor

Re: Cambio de hora en Chile

Hey Rita!

You doing translation services now??

Translate this for me:

We need to know what version of HP-UX he is running, assuming that he is even running HP-UX.


Pete

Pete
Torsten.
Acclaimed Contributor

Re: Cambio de hora en Chile

LOL!

One is playing proxy, others do translation...

You are nice and helpful people!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Rita C Workman
Honored Contributor

Re: Cambio de hora en Chile

Pietro,

Yo no hable Ingles.............teehee

Je parle fran├Г┬зais, tr├Г┬иs peu

Later gater,
Rita
Benjamin Galvez
Occasional Advisor

Re: Cambio de hora en Chile

Hi Torsten.

The system data

hp-ux
release = B.11.23
model string = "ia64 hp server rx4640"

Best regards
Benjam├Г┬нn
Rita C Workman
Honored Contributor

Re: Cambio de hora en Chile

Benjamin,

├В┬┐Qu├Г┬й versi├Г┬│n del sistema operativo de HPUX usted tiene?

Translacion:
http://babel.altavista.com/tr

Respeto,
Rita
Pete Randall
Outstanding Contributor

Re: Cambio de hora en Chile

Benjamin,

What is your TZ set to?

echo $TZ


Pete

Pete
Benjamin Galvez
Occasional Advisor

Re: Cambio de hora en Chile

Hi, (Hola)

TZ=PST4SST

Best regards (Saludos cordiales)
Benjam├Г┬нn
Pete Randall
Outstanding Contributor

Re: Cambio de hora en Chile

Is there an entry in /usr/lib/tztab for TZ=PST4SST?


Pete

Pete
Benjamin Galvez
Occasional Advisor

Re: Cambio de hora en Chile

yes...

Benjamin Galvez
Occasional Advisor

Re: Cambio de hora en Chile

yes...

systems::/ >>more /usr/lib/tztab
# @(#)B11.23_LR
# South America Chile Continental
PST4SST
0 23 8-14 3 1983-2007 6 PST4
0 23 29-31 3 2008-2008 6 PST4
0 23 8-14 3 2009-2038 6 PST4
0 1 9-15 10 1983-2038 0 SST3

Benjamin
Benjamin Galvez
Occasional Advisor

Re: Cambio de hora en Chile

The file contains

systems::/ >>more /usr/lib/tztab
# @(#)B11.23_LR
# South America Chile Continental
PST4SST
0 23 8-14 3 1983-2007 6 PST4
0 23 29-31 3 2008-2008 6 PST4
0 23 8-14 3 2009-2038 6 PST4
0 1 9-15 10 1983-2038 0 SST3

but it does not work correctly

is correct the change?

old change hour zone
03/08/2008 24:00 hrs. change to -1 (23:00)

new change hour zone
03/29/2008 24:00 hrs. change to -1 (23:00)


Saludos
Benjam├Г┬нn
Pete Randall
Outstanding Contributor

Re: Cambio de hora en Chile

PST4SST
0 23 8-14 3 1983-2007 6 PST4
0 23 29-31 3 2008-2008 6 PST4
0 23 8-14 3 2009-2038 6 PST4
0 1 9-15 10 1983-2038 0 SST3

The third line should almost accomplish what you need. It says that in the year 2008, on the 29th, 30th, or 31st day (29-31), if it is Saturday (6) of the March (3), the time will be adjusted. I would think you would want to change that line to read like this:

0 23 25-31 3 2008-2008 6 PST4


Pete

Pete
Benjamin Galvez
Occasional Advisor

Re: Cambio de hora en Chile

good...good...good...

now perfect

muchas gracias...

Saludos
Pete Randall
Outstanding Contributor

Re: Cambio de hora en Chile

De nada

Pete
Dennis Handly
Acclaimed Contributor

Re: Cambio de hora en Chile

If you look in the following thread you'll see a link that shows you how to test your tztab changes:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1209662

Using your initial values gives:
$ TZ=PST4SST dst.pl
Sun Apr 06 01:59:59 PST 2008 --> Sun Apr 06 03:00:00 SST 2008
Sun Oct 26 01:59:59 SST 2008 --> Sun Oct 26 01:00:00 PST 2008

And on Pete's correction:
$ TZ=PST4SST dst.pl
Sat Mar 29 23:59:59 SST 2008 --> Sat Mar 29 23:00:00 PST 2008
Sat Oct 11 23:59:59 PST 2008 --> Sun Oct 12 01:00:00 SST 2008

If you would like an official HP-UX entry for your timezone you first must:
1) Meet the minimum population and sales numbers
2) Contact your local HP sales office
3) Provide an official government paper or web site that explains your timezone rules in a manner that is unambiguous. I.e. at this date AND time it is X, a minute later it switches to Y. And it a minute before it switches, it is X and a minute later it is Y.

# South America Chile Continental
PST4SST
0 23 8-14 3 1983-2007 6 PST4
0 23 29-31 3 2008-2008 6 PST4
0 23 8-14 3 2009-2038 6 PST4
0 1 9-15 10 1983-2038 0 SST3

Typically the entries in tztab(4) for southern hemisphere zones have the DST start months first then the DST end. So your last entry should be first, to be consistent.

>muchas gracias...

If you have gotten the answers you wanted, please read the following about assigning points:
http://forums.itrc.hp.com/service/forums/helptips.do?#