Change Time Zone to UTC without DST


 
Thread Tools Search this Thread
Operating Systems AIX Change Time Zone to UTC without DST
# 1  
Old 04-05-2013
Change Time Zone to UTC without DST

Hello AIX friends,

We have timezone settings on our AIX 6.1 boxes set to Europe/London.

How can I change it to UTC timezone with Daylight saving disabled.

After running "smit chtz_user" I don't see UTC option in the listing.
Please advise.

TIA

Last edited by prvnrk; 04-05-2013 at 12:42 AM..
# 2  
Old 04-05-2013
The "UTC" is named somewhat misleadingly "CUT" (coordinated universal time).

If you want to make your change globally for the whole system use an editor to modify the file "/etc/environment", which affects all processes:

Code:
TZ=<your selected timezone string here>

I hope this helps.

bakunin
# 3  
Old 04-05-2013
Even if you don't find a UTC entry in your system's list of timezone values, setting TZ=UTC0 will set the timezone to coordinated universal time with no summer time shift. You can set it in /etc/environment (or some other system dependent file depending on which operating system you use) to affect everyone that logs in after you make the change, in your home directory's .profile (or other startup file depending on which shell you use) to affect all commands in login sessions you start after you make the change, or as a prefix on a command line (e.g., TZ=UTC0 date) if you just want to affect that command.

PS The UTC comes from a compromise between the English Coordinated Universal Time (CUT) and the French Temps Universel Coordonné (TUC) reached by the International Telecommunication Union to have a common, worldwide abbreviation for this timezone. Smilie
# 4  
Old 04-05-2013
This is what I use:
Code:
michael@x054:[/home/michael]grep TZ /etc/environment
TZ=CUT00:00:00

You could shorten that to:
TZ=CUT0
or
TZ=UTC0
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. UNIX for Dummies Questions & Answers

How to change the time zone in UNIX??

hi, my system date and time zone is PDT. whenever i append date time stamp to a file it appends the system date thats PDT date time zone. i want to append GMT time zone. is there a mechanism or option which can append the date time stamp according to GMT. (4 Replies)
Discussion started by: Little
4 Replies

3. Shell Programming and Scripting

Date Time Change for a particular target Zone

Hi Summary: - Script will take 2 arguments - Argument 1: Date/Time value in a particular format - Argument 2: TimeZone value Examples: Argument 1: a. "May 11, 2012 08:00:00 AM" b. "Dec 21, 2012 12:21:12 PM" c. "Oct 2, 2012 05:00:00 PM" Argument 2: a. MT or MST or MDT b. ET c.... (4 Replies)
Discussion started by: anuragpgtgerman
4 Replies

4. AIX

Bug in AIX 6.1/7.1 Time Zone DST Change -again

Hi Everyone Just wanted to share with you that IBM AIX is having again problem with Summer Time Shift.. IBM Possible Action Required: System time may not change properly at DST start/end dates on AIX 7.1 and AIX 6.1 - United States For me it means some additional overtimes in the... (0 Replies)
Discussion started by: gito
0 Replies

5. Shell Programming and Scripting

Find and Convert UTC Time to PST Time

Hello All - I have a script that grabs data from the net and outputs the following data 46029 46.144 -124.510 2010 07 26 22 50 320 4.0 6.0 2.2 9 6.8 311 1012.1 -0.9 13.3 13.5 13.3 - - 46041 47.353 -124.731 2010 07 26 22 50 250 2.0 3.0 1.6 8 6.4 - 1011.6 - ... (0 Replies)
Discussion started by: drexnefex
0 Replies

6. Linux

DST Time Change for positive timezones not working

I was doing timezone and DST testing which is required for some of my products Here is the strange behaviour i observed First i did set the timezone to PST 2010 (which is less than GMT basically negative timezone) zdump -v /etc/localtime |grep 2010 /etc/localtime Sun Mar 14 09:59:59... (0 Replies)
Discussion started by: ravindra1103
0 Replies

7. AIX

Convert UTC time to local time ?

Hello, Using AIX6.1 box. I have UTC time value and need to convert it to local time value - I mean time zone and DST should be taken into consideration. I hope it could be done using shell environment - I don't want to write a program. thanks Vilius ---------- Post updated at 02:30 PM... (2 Replies)
Discussion started by: vilius
2 Replies

8. HP-UX

How can I change in HP-UX to Jerusalem time zone

How can I change in HP-UX The time zone to reflect the Jerusalem/Israel time zone (I think ist called IDT or IST) ? tnx (5 Replies)
Discussion started by: umen
5 Replies

9. HP-UX

Time Zone Change Needed

Need help with a timezone change for my user profile on HPUX, from UTC to PDT8PST pgop:/home/pgop > date Thu Sep 25 15:09:50 UTC 2008 to Thu Sep 25 08:12:44 PDT 2008 Tried looking through manuals for date over this to no luck!! :confused: (3 Replies)
Discussion started by: pgop
3 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