date (169 Views)
Reply
Super Advisor
Tarek
Posts: 275
Registered: ‎12-19-2000
Message 1 of 9 (169 Views)
Accepted Solution

date

Hi all.
Last saturday the hour was passed to summer time, but my hpux 11.00 ws didn't convert it automatically...what do i have to configure??
Using hpux 11.00, italian hour, Timezone GMT -1.
Thanks & regards
tarek
Please use plain text.
Trusted Contributor
Marcel Boon
Posts: 176
Registered: ‎06-07-2000
Message 2 of 9 (169 Views)

Re: date

Hi,

Run the "set_parms" utillity.
see "man set_parms".

Marcel
See the man pages
Please use plain text.
Honored Contributor
Vincenzo Restuccia
Posts: 1,353
Registered: ‎03-20-2001
Message 3 of 9 (169 Views)

Re: date

Edit /etc/TIMEZONE with TZ=MET -1METDST
export TZ.
Please use plain text.
Honored Contributor
Thierry Poels_1
Posts: 1,218
Registered: ‎08-15-2000
Message 4 of 9 (169 Views)

Re: date

yep, like Vincenzo said, you'll need the DST (Daylight Saving Time) to switch automatically to winter- and summertime.

My timezone is (Belgium):
TZ=MET-1METDST

good luck,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Please use plain text.
Super Advisor
Tarek
Posts: 275
Registered: ‎12-19-2000
Message 5 of 9 (169 Views)

Re: date

Actually the /etc/TIMEZONE file contains the following entries:
TZ=MET-1MEST
export TZ
Do i have to modify it as you wrote??
Please use plain text.
Trusted Contributor
Marcel Boon
Posts: 176
Registered: ‎06-07-2000
Message 6 of 9 (169 Views)

Re: date

Hi,

If you don't know try the next:

CDE:
1) cmd: dtterm
2) cmd: set_parms timezone
3) European timezone
4) Middle Europe time/Daylight

command line:1
1) cmd: telnet
2) cmd: set_parms timezone
3) cmd: 4
4) cmd: 4

Reboot system

Marcel

Ps. If you check the /etc/TIMEZONE afther those commands you can see that it is changed.

See the man pages
Please use plain text.
Honored Contributor
Stefan Schulz
Posts: 635
Registered: ‎08-12-1999
Message 7 of 9 (169 Views)

Re: date

I would suggest using set_parms timezone to savely set the correct timezone. Alternatively you could use set_parms initial to check all you settings.

For more details see the man pages of set_parms.

Hope this helps

Stefan
No Mouse found. System halted. Press Mousebutton to continue.
Please use plain text.
Trusted Contributor
Marcel Boon
Posts: 176
Registered: ‎06-07-2000
Message 8 of 9 (169 Views)

Re: date

Hi,

To give an answer on your last question
"
Actually the /etc/TIMEZONE file contains the following entries:
TZ=MET-1MEST
export TZ
Do i have to modify it as you wrote??
"
answer: yes

MB.
See the man pages
Please use plain text.
Super Advisor
Tarek
Posts: 275
Registered: ‎12-19-2000
Message 9 of 9 (169 Views)

Re: date

Thanks all, but I know how to change time with set parms. I wanted just to know what was the entry for switching automatically from winter to summer date and vice versa. Because in all ws i set the time during the installation of hpux11, but some ws switched automatically, other not. So the problem was configuring the /etc/TIMEZONE file or to use set parms and it will automatically set the /etc/TIMEZONE file in the correct way.
Thanks all again.
Regards
Tarek
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation