Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - Tru64 Unix
Showing results for 
Search instead for 
Did you mean: 

Changing the TimeZone

Slayer Slayer
Frequent Advisor

Changing the TimeZone

Hello All,

Next week i will have to change the TimeZone in our Tru64 4.0G.
I need to put in hour ahead.
How do i do that ?



Victor Semaska_3
Esteemed Contributor

Re: Changing the TimeZone

If you set it up properly when you installed the OS, it should change automatically for you.

To see which timezone you have selected on your system:

# ls -l /etc/zoneinfo/localtime

It should be a symbolic link to the appropriate zone.

I live in the Northeastern US so for my system it's:

localtime -> ./US/Eastern

For you, it should be something like:

localtime -> ./Brazil/Acre|DeNoronha|East|West

There are 10 kinds of people, one that understands binary and one that doesn't.
Slayer Slayer
Frequent Advisor

Re: Changing the TimeZone

Hey man thanks for the response.

But let´s suppose, the last admim that was here did not set up the OS properly.

How do i know if the OS will do that automatically.
If the Timezone does not change automamtically how do i set up it Manually ?

Thanks a lot


Han Pilmeyer
Esteemed Contributor

Re: Changing the TimeZone

What Vic described above tells you what the system wide default for the timezone is. There are ways to override this, even on a per process basis (e.g. using the TZ environment variable).

If you're afraid that the timezone defined by the operating system is not correct or you'd just like to see what the definition is, then the sources for the timezone definitions can be found in /etc/zoneinfo/sources.

You could customize those if you desire (see the "zic" command), but that should not be necessary.

Also see man pages like: zoneinfo, tzset, zic, etc.