SUMMARY: How can I change the Time zone parameter ?

From: Antonio Paraiso Rivera <aparaiso_at_bancozaragozano.es>
Date: Thu, 06 Aug 1998 18:34:00 +0200

Thanks to all who answered:

Ward Ahders <AHDERWA_at_mail.northgrum.com>
Salvador Ramirez <sram_at_profc.udec.CL>
Whitney Latta <latta_at_decatl.alf.dec.com>
Dr. Tom Blinn, <tpb_at_zk3.dec.com>
Youssef Saadi SAADI_at_wisconsin.cern.ch


My original question was the following:
------------------------------------------------------

I have an Alpha with DU 4.0B, and it was installed with Time Zone GMT. This
represents that the computer will not change the time according to European
directives. So, I must change the Time Zone to MET or CET (Central European
Time). The time zone appears, for example, in the output of the "date"
command.

How can I change this parameter ? or... I must re-install the Operating
System to fix the correct time zone ?


The solution is:
---------------------
The timezone is set via the symbolic link "localtime" in the /etc/zoneinfo
directory.

To change the time zone, there are two ways:

Use the /usr/sbin/timezone command
(I donīt know why this solution doesnīt work in my Alpha. Once executed,
the same time zone remains)

or

Remove the "localtime" link and create this link to the desired time zone
(for example, MET):
# cd /etc/zoneinfo
# rm localtime
# ln -s ./MET localtime

...and test it by "date" command.
(this option works correctly).
 









Antonio Paraiso Rivera
Banco Zaragozano, S.A.
Tfno: +34 976 47 03 03 .Ext: 3176
Fax: +34 976 76 30 17
aparaiso_at_bancozaragozano.es
http://www.bancozaragozano.es
Received on Thu Aug 06 1998 - 16:32:20 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT