Time Zones - SCO

This is a discussion on Time Zones - SCO ; I've done some google searches to try and get the correct TZ variables around the globe, especially North America. ie: EST5EDT is the output for for East Coast USA. CMT is what I would find for Central Mountain time... but ...

+ Reply to Thread
Results 1 to 9 of 9

Thread: Time Zones

  1. Time Zones

    I've done some google searches to try and get the correct
    TZ variables around the globe, especially North America.

    ie: EST5EDT is the output for for East Coast USA.

    CMT is what I would find for Central Mountain time... but I need
    the entire line CMT@???

    Any websites anyone knows about that can show this full TZ for the
    globe?

    TIA,

    Jeff H

  2. Re: Time Zones

    Jeff,

    I don't have a complete answer, but I can tell you that "CMT" looks wrong.
    There is Central Standard Time (CST) and there is Mountain Standard Time
    (MST). Each could have a daylight saving time suffix.

    On Fri, 26 Sep 2008, Jeff Hyman wrote:

    > I've done some google searches to try and get the correct
    > TZ variables around the globe, especially North America.
    >
    > ie: EST5EDT is the output for for East Coast USA.
    >
    > CMT is what I would find for Central Mountain time... but I need
    > the entire line CMT@???
    >
    > Any websites anyone knows about that can show this full TZ for the
    > globe?
    >
    > TIA,
    >
    > Jeff H
    >
    >
    >
    >


    Regards,
    .....Bob Rasmussen, President, Rasmussen Software, Inc.

    personal e-mail: ras@anzio.com
    company e-mail: rsi@anzio.com
    voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
    fax: (US) 503-624-0760
    web: http://www.anzio.com
    street address: Rasmussen Software, Inc.
    10240 SW Nimbus, Suite L9
    Portland, OR 97223 USA

  3. Re: Time Zones

    Bob Rasmussen typed (on Fri, Sep 26, 2008 at 06:48:55AM -0700):
    | Jeff,
    |
    | I don't have a complete answer, but I can tell you that "CMT" looks wrong.
    | There is Central Standard Time (CST) and there is Mountain Standard Time
    | (MST). Each could have a daylight saving time suffix.
    |
    | On Fri, 26 Sep 2008, Jeff Hyman wrote:
    |
    | > I've done some google searches to try and get the correct
    | > TZ variables around the globe, especially North America.
    | >
    | > ie: EST5EDT is the output for for East Coast USA.
    | >
    | > CMT is what I would find for Central Mountain time... but I need
    | > the entire line CMT@???
    | >
    | > Any websites anyone knows about that can show this full TZ for the
    | > globe?
    | >
    | > TIA,
    | >
    | > Jeff H

    Bob,

    Thanks for the input. I was kinda' wondering that myself, but
    either way was needing the full string. I'll keep digging.
    Hope all is well in your world.

    Hang in there,
    Jeff H





  4. Re: Time Zones


    Jeff Hyman wrote:
    > Bob Rasmussen typed (on Fri, Sep 26, 2008 at 06:48:55AM -0700):
    > | Jeff,
    > |
    > | I don't have a complete answer, but I can tell you that "CMT" looks wrong.
    > | There is Central Standard Time (CST) and there is Mountain Standard Time
    > | (MST). Each could have a daylight saving time suffix.
    > |
    > | On Fri, 26 Sep 2008, Jeff Hyman wrote:
    > |
    > | > I've done some google searches to try and get the correct
    > | > TZ variables around the globe, especially North America.
    > | >
    > | > ie: EST5EDT is the output for for East Coast USA.
    > | >
    > | > CMT is what I would find for Central Mountain time... but I need
    > | > the entire line CMT@???
    > | >
    > | > Any websites anyone knows about that can show this full TZ for the
    > | > globe?
    > | >
    > | > TIA,
    > | >
    > | > Jeff H
    >
    > Bob,
    >
    > Thanks for the input. I was kinda' wondering that myself, but
    > either way was needing the full string. I'll keep digging.
    > Hope all is well in your world.
    >


    Doesn't OSR5 accept any TZ string of the forms
    XXXnYYY
    XXXnYYY,M1.2.3/1,M9.8.7/1
    etc
    where XXX and YYY are any arbitrary string?

    You want some XXX and YYY that are probably actually used in some real
    locales?

    Maybe the following is of some use?

    # cd /tmp
    # wget 'ftp://elsie.nci.nih.gov/pub/tz*.tar.gz'
    ....
    16:51:11 (132.49 KB/s) - `tzcode2008e.tar.gz' saved [189670]
    ....
    16:51:12 (180.95 KB/s) - `tzdata2008f.tar.gz' saved [172882]

    # ls tz*
    tzcode2008e.tar.gz
    tzdata2008f.tar.gz

    # gzip -d tz*

    # ls tz*
    tzcode2008e.tar
    tzdata2008f.tar

    # tar tvf tzdata2008f.tar
    tar: blocksize = 20
    r--r--r--8800/0 30753 Sep 10 03:33 2008 africa
    r--r--r--8800/0 12490 Sep 10 03:33 2008 antarctica
    r--r--r--8800/0 84517 Sep 10 03:33 2008 asia
    r--r--r--8800/0 57692 Sep 10 03:33 2008 australasia
    r--r--r--8800/0 110696 Sep 10 03:33 2008 europe
    r--r--r--8800/0 109624 Sep 09 21:05 2008 northamerica
    r--r--r--8800/0 57678 Sep 10 03:33 2008 southamerica
    r--r--r--8800/0 1111 Sep 10 03:33 2008 pacificnew
    r--r--r--8800/0 2920 Sep 10 03:33 2008 etcetera
    r--r--r--8800/0 311 Sep 10 03:33 2008 factory
    r--r--r--8800/0 3896 Sep 10 03:33 2008 backward
    r--r--r--8800/0 1464 Sep 10 03:33 2008 systemv
    r--r--r--8800/0 19224 Sep 10 03:33 2008 solar87
    r--r--r--8800/0 19242 Sep 10 03:33 2008 solar88
    r--r--r--8800/0 19518 Sep 10 03:33 2008 solar89
    r--r--r--8800/0 4082 Sep 10 03:33 2008 iso3166.tab
    r--r--r--8800/0 18684 Sep 10 03:33 2008 zone.tab
    r--r--r--8800/0 3025 Sep 10 03:33 2008 leapseconds
    r--r--r--8800/0 707 Sep 10 03:33 2008 yearistype.sh

    # tar xvf tzdata2008f.tar europe

    # egrep "[0-9] *[A-Z]{3} [A-Z]{3,4} " europe | head
    # -4:00 AST ADT Atlantic
    # -3:00 WGT WGST Western Greenland*
    # -1:00 EGT EGST Eastern Greenland*
    # 0:00 GMT BST BDST Greenwich, British Summer
    # 0:00 GMT IST Greenwich, Irish Summer
    # 0:00 WET WEST WEMT Western Europe
    # 0:19:32.13 AMT NST Amsterdam, Netherlands Summer (1835-1937)*
    # 0:20 NET NEST Netherlands (1937-1940)*
    # 1:00 CET CEST CEMT Central Europe
    # 2:00 EET EEST Eastern Europe



    --
    RGB

  5. Re: Time Zones

    On Fri, Sep 26, 2008, Jeff Hyman wrote:
    >I've done some google searches to try and get the correct
    >TZ variables around the globe, especially North America.
    >
    >ie: EST5EDT is the output for for East Coast USA.
    >
    >CMT is what I would find for Central Mountain time... but I need
    >the entire line CMT@???


    Here's what I have for the U.S. Pacific TZ. I think all you have
    to do is change the abbreviations and time offset appropriately.

    PST8PDT,M3.2.0/2,M11.1.0/2

    I suspect that it would be for Central:

    CST6CDT,M3.2.0/2,M11.1.0/2

    FWIW, I'm using this on 5.0.6a systems.

    Bill
    --
    INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC
    URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
    Voice: (206) 236-1676 Mercer Island, WA 98040-0820
    Fax: (206) 232-9186

    In free governments the rulers are the servants, and the people their
    superiors & sovereigns." -- Benjamin Franklin

  6. Re: Time Zones

    Bill,

    Any idea for:
    GMT

    This variable resides inside '/etc/TIMEZONE' on a Solaris-10 box.
    St. Louis, MO. Be my luck the freakin' MO River is a TZ split and
    I'll need to find out which side of the river they are on :-)

    | CST6CDT,M3.2.0/2,M11.1.0/2
    Is there more then one Central time? I wonder why
    SOLARIS uses GMT?

    - Jeff H


    Bill Campbell typed (on Fri, Sep 26, 2008 at 08:59:05AM -0700):
    | On Fri, Sep 26, 2008, Jeff Hyman wrote:
    | >I've done some google searches to try and get the correct
    | >TZ variables around the globe, especially North America.
    | >
    | >ie: EST5EDT is the output for for East Coast USA.
    | >
    | >CMT is what I would find for Central Mountain time... but I need
    | >the entire line CMT@???
    |
    | Here's what I have for the U.S. Pacific TZ. I think all you have
    | to do is change the abbreviations and time offset appropriately.
    |
    | PST8PDT,M3.2.0/2,M11.1.0/2
    |
    | I suspect that it would be for Central:
    |
    | CST6CDT,M3.2.0/2,M11.1.0/2
    |
    | FWIW, I'm using this on 5.0.6a systems.
    |
    | Bill
    | --
    | INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC
    | URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
    | Voice: (206) 236-1676 Mercer Island, WA 98040-0820
    | Fax: (206) 232-9186
    |
    | In free governments the rulers are the servants, and the people their
    | superiors & sovereigns." -- Benjamin Franklin

    --

    Best Regards,
    Jeffrey Hyman - [scolist]
    .--.
    ___________________________ .-. | | _____________________________________
    Lone Star Software Corp. | | | | .-. Home of World Famous LONE-TAR(tm)
    Cactus International, Inc. | |_| | | | Backup Software for UNIX and LINUX
    Sales: 800.525.8649 _ |___ |_| | 24x7 Support Available
    Support: 301.829.1622 _| ~- | ___| RESCUE-RANGER(tm) and AIR-BAG(tm)
    http://www.LONE-TAR.com \, _} | | Disaster Recovery Software
    -------------------------- \( -- | | --------------------------------------
    | |


  7. Re: Time Zones

    On Fri, Sep 26, 2008, Jeff Hyman wrote:
    >Bill,
    >
    > Any idea for:
    >GMT


    >This variable resides inside '/etc/TIMEZONE' on a Solaris-10 box.
    >St. Louis, MO. Be my luck the freakin' MO River is a TZ split and
    >I'll need to find out which side of the river they are on :-)
    >
    >| CST6CDT,M3.2.0/2,M11.1.0/2
    >Is there more then one Central time? I wonder why
    >SOLARIS uses GMT?


    All *nix system's system clock maintains GMT (unless perhaps
    they're set up by an ignorant MS weenie :-). The TZ variable
    provides the information to translate GMT/UTC to localtime.

    Bill
    --
    INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC
    URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
    Voice: (206) 236-1676 Mercer Island, WA 98040-0820
    Fax: (206) 232-9186

    Before all else, be armed. -- Machiavelli

  8. Re: Time Zones

    All my stuff is on 5.0.5 so it may not carry over to later but FWIW I
    no longer use the standard time zones as they are set up for daylight
    time at the time the OS was released and, as with the current time,
    subject to the whim of congress.

    I use tz to set TIMEZONE with the location outside North America but
    name the zones the same as it would be under a standard install.

    All mine happen to be on the east coast and I don't have to worry
    about the split zones or partial shifts.

  9. Re: Time Zones

    On 26 Sep, 15:37, Jeff Hyman wrote:
    > I've done some google searches to try and get the correct
    > TZ variables around the globe, especially North America.
    >
    > ie: EST5EDT is the output for for East Coast USA.
    >
    > CMT is what I would find for Central Mountain time... but I need
    > the entire line CMT@???
    >
    > Any websites anyone knows about that can show this full TZ for the
    > globe?


    Jeff,

    For the US see:

    http://www.statoids.com/tus.html

    Please note that TZ is a modifier that allows you to:

    1) Set the timezone for your server so that times are recorded
    in the timezone that your server "resides" in
    2) Set the timezone for individual users such that you can
    have users from many timezones using the same server
    and all seeing time in their "local" timezone

    Hope this helps.

    John

+ Reply to Thread