AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  Setting Time zone to Asia/Calcutta in AIX 5.3

    Posted Mon July 30, 2007 09:03 AM

    Originally posted by: sck


    Hi all,

    Can the timezone can be set to Asia/Calcutta in AIX 5.3. If yes what is required to do so. As the system does not list the required Timezone.

    Thanks


  • 2.  Re: Setting Time zone to Asia/Calcutta in AIX 5.3

    Posted Thu August 02, 2007 11:27 AM

    Originally posted by: SystemAdmin


    Take a look at this page from the AIX Infocenter:
    http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.files/doc/aixfiles/environment.htm

    At the bottom of that page it lists two timezones for Asia:
    TASHST-6TASHDT Central Asia CUT +6
    WST-4WDT Gorki, Central Asia, Oman CUT +4

    I do not know if either suits your needs.... I would probably choose the one from the table on the page linked to above that matches your local time according to the offset from CUT (Coordinated Universal Time).

    That page also gives information on how the timezone environment variable, TZ, is formatted in AIX.

    You can change the timezone using smit under "Change / Show Date, Time, and Time Zone". smit allows you to choose a predefined timezone ("Change Time Zone Using System Defined Values") or enter your own rules for the timezone ("Change Time Zone Using System Defined Values").

    You might also want to look at the chtz command:
    http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.cmds/doc/aixcmds1/chtz.htm

    Note that if you change the TZ variable you may need "kill the current cron daemon so that it will automatically respawn and recognize the new TZ setting." I do not know if changing the timezone through SMIT will automatically kill the cron daemon.


  • 3.  Re: Setting Time zone to Asia/Calcutta in AIX 5.3

    Posted Thu August 02, 2007 04:42 PM

    Originally posted by: SystemAdmin


    You have to select user defined Time Zone

    smitty system --> Change / Show Date & Time -> Change Time Zone Using User Inputted Values
    Select IST and standard offset as +5:30


  • 4.  Re: Setting Time zone to Asia/Calcutta in AIX 5.3

    Posted Thu August 02, 2007 04:44 PM

    Originally posted by: SystemAdmin


    type IST as there is no IST in the selection
    donn't select anything for daylight savings