[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

8976.0. "How to change time zone?" by LABC::RU () Wed Feb 26 1997 13:17

    
    My customer like to change the time zone on system.
    Is there any command to do that?  Also how to change
    the day light saving to none?
    
    Thanks
    
    Jason
T.RTitleUserPersonal
Name
DateLines
8976.1ZEKE::ranger.zko.dec.com::dilsworthKeith DilsworthWed Feb 26 1997 14:011
/usr/sbin/timezone
8976.2LABC::RUWed Feb 26 1997 14:337
    
    I ran timezone as root.  Change it to Central Time,  but the
    'date' still shows the original timezone.  Reboot doesn't change
    anything.   Seems to me 'timezone' doesn't work.  Any suggestions?
    
    
    Jason
8976.3man 3 timezoneNETRIX::"[email protected]"Brian HaleyWed Feb 26 1997 15:5818
Hi,

The timezone (8) page I believe is for System V.  You really want to look
at tht timezone (3) man page.  Basically it will tell you to change the
soft link in /etc/zoneinfo.  An excerpt:

Setting Timezone Information

  The /etc/zoneinfo/localtime link can be changed by the system administrator
  to any file in the /etc/zoneinfo directory.

  For example, to change the default system timezone to Canada's Atlantic
  time zone, enter the following as superuser:

       # ln -s /etc/zoneinfo/Canada/Atlantic /etc/zoneinfo/localtime

-Brian
[Posted by WWW Notes gateway]
8976.4Specifically...QUARRY::reevesJon Reeves, UNIX compiler groupThu Feb 27 1997 12:312
Given the questions you're asking, you might find the US/East-Indiana timezone
useful.  See /etc/zoneinfo/source/northamerica for details.
8976.5East-Indiana definedINDYX::ramRam Rao, PBPGINFWMYFri Feb 28 1997 12:1310
> Given the questions you're asking, you might find the US/East-Indiana timezone
> useful.  See /etc/zoneinfo/source/northamerica for details.

The main "feature" of the US/East-Indiana timezone is that it observes
Eastern Standard Time year-round (does not switch to/from Daylight time).

Ram Rao
(who lives in the US/East-Indiana timezone, and has his ULTRIX and Digital
UNIX systems configured accordingly)