Time zone setting

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Time zone setting
# 1  
Old 07-31-2002
Time zone setting

Tru64 (4.0D)

How to change the time zone setting for the system?

# 2  
Old 07-31-2002
Read man page for TIMEZONE and timezone.

You can also change the TZ used within the current shell by exporting TZ.
# 3  
Old 07-31-2002
Hi peter,

I ran timezone as root and selected my location.
But when i see date it still shows the previous timezone. Do I need to reboot the box?

# 4  
Old 07-31-2002
Shouldn't need to..... do an 'env' and see what your timezone is stating.

Try - as any user
date (this will show current date/time and timezone
export TZ=GMT (this will change to GMT)
date ( will show new timezone in GMT)

Changing the system TZ...(in the /etc/default/init file for my system SunOS 5.6) should make the new timezone be set. Users will probably have to exit and signon but you won't have to reboot box.

You may have a TZ setting in the users profile.....this would cause it to differ from the system one...check the .profile file inthe users home directory.

A few things to try anyway.
# 5  
Old 07-31-2002
Hi Peter,

Yes, I want to change the system timezone. There is no TZ parameter set in the root profile.
The file /etc/default/init doesn't exist for Tru64.

# 6  
Old 07-31-2002
Do you have man pages for TIMEZONE and timezone....for your setup? they should tell you where you can find the TZ variable setting for the system.

/etc/timezone...or /etc/TIMEZONE...might be somewhere to look....?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Help setting up a bhyve branded zone

So I started with following the example on the omnios page for bhyve (sorry, I can't provide the link because I'm a post shy of the 5 to give a URL): And found that in the end I was able to create a running bhyve zone, but accessing it via zlogin results in a blank console. I've tried Debian 9... (14 Replies)
Discussion started by: stratacast1
14 Replies

2. Shell Programming and Scripting

Convert UTC time into current UNIX sever time zone

Hi guys thanks for the help for my previous posts.Now i have a requirement that i download a XMl file which has UTC time stamp.I need to convert UTC time into Unix server timezone. For ex if the time zone of unix server is CDT then i need to convert into CDT.whatever may be the system time... (5 Replies)
Discussion started by: mohanalakshmi
5 Replies

3. Solaris

showing 2 different time zones in global zone and nonglobal zone

can some one help me out as it is showing 2 different time zones in global zone and nonglobal zone .In global zone it is showing in GMT while in nonglobal zone i it showing as PDT. System in running with solaris 10 (3 Replies)
Discussion started by: ravijanjanam12
3 Replies

4. Solaris

modifying date and time and time zone on solaris 5.10 with (redundant server) veritas

I have a cluster of two Solaris server (veritas cluster). one working and the other is standby I am going to change the date on them , and am looking for a secure solution as it is giving an important service. my opinion is that the active one doesn't need to be restarted (if I don't change the... (1 Reply)
Discussion started by: barry1946
1 Replies

5. UNIX for Dummies Questions & Answers

Sysinstall not setting the time zone correctly

Every time a new machine is installed with either Linux or FreeBSD we set the timezone to either UTC or CEST. However, the clock on the desktop is almost always one hour or two hours behind. We then run sysinstall > configure > time zone (FreeBSD) or set the clock in the panel (xfce / linux), but... (2 Replies)
Discussion started by: figaro
2 Replies

6. AIX

Time Zone for a User Different From Server Time

Hi, A server runs on EDT. Can I set a user with time-zone GMT without changing the server time? regards, Roshni (1 Reply)
Discussion started by: RoshniMehta
1 Replies

7. Shell Programming and Scripting

Compare Last Modified Time across Time Zone

Hi, I'm new to shell script programming, I only have Java programming background. I'm writing a shell script to do file synchronization between 2 machines that located at different time zone area. Both machine were set its time zone according to its geographical location (Eg: server is at... (1 Reply)
Discussion started by: python
1 Replies

8. AIX

Setting connection time zone

New to AIX AIX 5.3 Is it possible to set the time zone for an individual user connection? I have an environment that may be used by several global locations and the information they enter needs to be in each of their own time zones. Ideally we need to do this for cron jobs as well. ... (3 Replies)
Discussion started by: MizzGail
3 Replies

9. Solaris

Sun Solaris 4 - Need to know zone setting procedure. Please help!

Sun Solaris 4 - Need to know zone setting procedure. Please help!:( (6 Replies)
Discussion started by: nkpalkar
6 Replies

10. UNIX for Advanced & Expert Users

Change params for time zone

Hi! How ican change parameters for daylight, i mean, i want change the daylight on december first week. I've tried with /usr/lib/tztab but result unsuccessful. (7 Replies)
Discussion started by: agustincm
7 Replies
Login or Register to Ask a Question