The HTTP protocol (like most international networking protocols) requires that dates and times, where used, be quoted in GMT. The personal computers on which OS/2 runs, however, do not require that a GMT clock be available--instead, the clock is usually set to local time.
Various mechanisms are used in OS/2 to indicate and calculate the current offset from GMT. The most common is to use an OS/2 environment variable named 'TZ', and for many people running GoServe this will already be set (for example to 'EST5EDT' for the USA East Coast). See the separate section on setting the value of the TZ variable.
If TZ is not set, GoServe will only use local time (and HTTP protocols and header fields that require GMT will not be used or generated).
If the TZ variable is set, GoServe will convert from local time to GMT as appropriate. It will also detect a clock dislocation (that is, when the time-of-day clock is changed by more than 10 seconds) automatically, and record and re-calculate the GMT offset when this occurs--such as when you change your clock for daylight-savings time.
Notes:
[ previous section | GoServe | next section ]
From 'goserve.doc', version 2.32.
Copyright © International Business Machines Corporation, 1993, 1995.
All rights reserved.