[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

time change on october 30 and timezone on AIX...

Posted on 2011-10-07
9
Medium Priority
?
864 Views
Last Modified: 2013-11-17
Hi,

We have all our AIXs with:

(AIX):[root] / -> echo $TZ
NFT-1DFT,M3.5.0,M10.5.0

This year the change will be on October 30 as:
http://www.calendario-365.es/horario-de-verano-y-horario-de-invierno.html

But I've seen the day of change (march or october) is not the same always. So:

- Is my $TZ right?
- Do I have to change $TZ every year looking at the day?
- Is possible to set a unique $TZ in my case (Andorra)

Thanks.


0
Comment
Question by:sminfo
  • 6
  • 3
9 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 36929906
Hi Israel,

yes, your timezone is correct!

Let me explain the values:

You've set NFT (Norway-France Time) with 1 hour offset to DFT (Daylight Saving Norway-France Time), and the change should occur at month 3, on the 5th occurrence of Sunday ( 0 ).

The clue is "the fifth occurrence".
The 5th occurrence always means "last one of this weekday in the month", so in your (and my) case it means "last Sunday in March" or "last Sunday in October", which is the correct setting.
Don't worry about the hours (2:00 or 3:00 A.M.). These are pretty standard worldwide and thus don't have to be mentioned.

In the newer AIX versions we do have "Olson" timezones (the above is for POSIX time), which might do what you desire.

Please give me a moment, I'll be back!

wmp
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 36929919
Of course the statement above should read: "... should occur at month 3 and at month 10 ..."

Sorry!
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 36929941
Try

"smitty chtz_olson"

Maybe this will already answer the second part of your Q!

wmp
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:sminfo
ID: 36929984
Good...

so,  "the fifth occurrence" is valid although the month has 4 weeks?

and if I don't put the 3 and 2 AM then the change is at 00 and 01 hours?



0
 

Author Comment

by:sminfo
ID: 36930011
wmp, smitty chtz_olson is only for AIX 6 and 7.. not for 5.3, see:
                     +--------------------------------------------------------------------------+
                         ¦                              ERROR MESSAGE                               ¦
                         ¦                                                                          ¦
                         ¦ Press Enter or Cancel to return to the                                   ¦
                         ¦ application.                                                             ¦
                         ¦                                                                          ¦
                         ¦   1800-007 There are currently no SMIT                                   ¦
                         ¦   screen entries available for this FastPath.                            ¦
                         ¦   This FastPath may require installation of                              ¦
                         ¦   additional software before it can be accessed.                         ¦
                         ¦                                                                          ¦
                         ¦ F1=Help                 F2=Refresh              F3=Cancel                ¦

But I have set the $TZ in the format like my first post on all our AIXs..

0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 36930018
"fifth occurrence" alway means "last occurrence" which is the standard.

If you don't specify hours the TZ change time follows the international standard, which is 2:00  A.M.

Did you try "smitty chtz_olson"?

There are no day/month/hour specifications with Olson because there is a database maintaining a historical record of time zone rules, so that if the rules change in a specific location, AIX interprets dates and time correctly both in the present and in the past.

wmp

0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 2000 total points
ID: 36930026
Well, I thought all your AIXes were up-to-date (not like mine, I indeed have one 5.1 and (very few) 5.2 running!)

:-)



0
 

Author Closing Comment

by:sminfo
ID: 36930036
NIce!!

Thanks.
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 36930053
Thx for the points, but did you really mean to accept THAT comment??

Anyway, have a nice weekend!

I'll be out of town for a week from Sunday on, so don't be astonished when my answers (if any) come from Mobile and are not as verbose as usual!

El wmp

 
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses
Course of the Month19 days, 7 hours left to enroll

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question