Change time winter=>summer


 
Thread Tools Search this Thread
Operating Systems AIX Change time winter=>summer
# 1  
Old 03-26-2013
Change time winter=>summer

Hi!

I have forgotten to change the file /etc/environment on a server.
I had this ligne for TZ variable
Code:
TZ=NFT-1DFT,M3.4.0/2:00:00,M10.5.0/2:00:00

So, yesterday I had the wrong date

Yesterday I changed the hour to come back at the good hour and change /etc/environment by this lign
Code:
TZ=NFT-1DFT,M3.5.0/2:00:00,M10.4.0/2:00:00

This morning when I came back, I was at H-1

Do you have a explanation?
thx!
# 2  
Old 03-26-2013
yes, ...M3.4.0... meant change DST value on fourth Sunday of March (which was last week) and ...M3.5.0... means change on fifth Sunday of March - which is 31 March this year.
When there are not 5 Sundays, the change is made on the fourth Sunday.
# 3  
Old 03-27-2013
I changed it again yesterday. I don't have the error anymore.
I cross the fingers for the next weekend.

Thanks
# 4  
Old 03-27-2013
The time on your system has never changed (that is an internal number).
To see how it looks to new users either login again, or type
Code:
$ date

  • modify TZ variable using set - or edit /etc/environment. If you edit /etc/environment, then
Code:
. /etc/environment
$ date

The last command gives the new presentation. Do not use the date command to change the time itself, just use the TZ variable to change the presentation of time of day.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Debian

change time

Hi all, I want change the time settings from EST to IST by using command line in Debian os. but it is not taken. Can any body show me the how to change the time settings by using command line. Thanks, (1 Reply)
Discussion started by: mastansaheb
1 Replies

2. AIX

AIX TIME CHANGE

Hi Guys , I see a weird problem with one of the AIX Machine, The time is changing randomly on the server. The seconds part of the time is what is the problem which is jumping on a uneven order and coming back to the original state after some time and again the same.. I have collected the time... (8 Replies)
Discussion started by: kkeng808
8 Replies

3. What is on Your Mind?

another whats on my mind!!! - winter waves

for anyone who surfs the northeast: why can't we have more frequent wave forming winds (bigger low pressure systems) in the summer?! i'm tired of putting on 100lbs of wet suit and surfing awesome waves. i'd rather put on no wet suit and surf awesome waves. :) damn the bermuda high!! anyone... (1 Reply)
Discussion started by: pupp
1 Replies

4. Solaris

change time

The time of our Solaris server now is slowly more 20 seconds. How can we change it ? (3 Replies)
Discussion started by: anhtt
3 Replies

5. AIX

summer Time

Good Morning I want to know how I can Abort tha automaticaly date change from summer to winter time ( At the the last sunday of march the date change) Please it is very urgent (0 Replies)
Discussion started by: mktahar
0 Replies

6. Linux

How To change time?

what command must i use to change time ? (4 Replies)
Discussion started by: Sirius
4 Replies

7. UNIX for Dummies Questions & Answers

Winter/Summer time change

Reliant Unix. Our branch in Syria has a Unix Server running our company application. Usually the the time is changed not in a fixed date.....but around end of October and beginning of November. The night of the summer winter time change last year...we put the server in singel user mode, then... (0 Replies)
Discussion started by: bcheaib
0 Replies

8. UNIX for Dummies Questions & Answers

Time change not working...

Hi, I am pretty new to the Solaris world. Just installed the version 8 and found that the time is off. I am in the Central time zone. In the beginning, the date and time was off by a day. After changing the /etc/default/init, there is no avail. The date is now correct but the time is still 5 hours... (7 Replies)
Discussion started by: conflansun
7 Replies
Login or Register to Ask a Question