Consultor Eletrônico



Kbase 20182: Windows System Time, Autoexec.bat, and the TZ Variable
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   04/08/2008
Status: Verified

FACT(s) (Environment):

Windows 95
Progress 9.x

SYMPTOM(s):

Query from the Procedure Editor to check the system time returned a time one hour earlier than the system time:

Display string(Time,'hh:mm:ss')

All system related time displays (bios included) showed the time accurately.

CAUSE:

The answer is incorrect employment of the little-known TZ variable in the autoexec.bat file on the machines that showed the incorrect time.

In this example, the autoexec.bat showed:

SET TZ=EST5

FIX:

The TZ variable should have been set, if at all, to the following:

SET TZ=EST5EDT