• SW: TZSet version 09

    From VOICE News Service@21:1/5 to All on Sun Jan 6 13:34:13 2019
    ++ From the VOICE OS/2-eCS News Service http://www.os2voice.org ++

    From: peterDESPAM@DESPAMpmoylan.org

    The latest version of TZSet can be fetched from

    ftp://ftp.pmoylan.org/software/tzset09.zip

    This is a freeware program (source included) that adjusts the OS/2 clock
    such that the API call DosGetDateTime will return the correct time zone. (Without TZSet or some equivalent substitute, the time zone is always
    returned as "undefined".) The program also adjusts your time zone twice
    a year, unless you live in a place that does not use Daylight Saving time.

    BACKGROUND (some of this is conjecture):
    According to one document on the web (https://jdebp.eu/FGA/keeping-time-in-os2.html) the OS/2 clock was
    supposed to be set to International Atomic Time, with each process using
    a Posix TZ variable to define its own time zone. This perhaps explains
    why "undefined" is always returned as the time zone value. I have,
    however, never seen any OS/2 software that uses a TZ variable in Posix
    format. I therefore suspect a design change, to have one TZ string in CONFIG.SYS in non-Posix format, which would relieve programs of the need
    to duplicate the time zone calculation in every application. That change
    did not, however, go as far as having a time zone setting in the System
    Clock object.

    Of course, ports of Linux software would still be free to use their own
    TZ variable that superseded the one in CONFIG.SYS. Such programs would
    be free to ignore the time zone returned by DosGetDateTime.

    -- Peter Moylan mailto://peter@pmoylan.org
    http://www.pmoylan.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)