Consultor Eletrônico



Kbase P42960: Displayed time incorrect in Progress editor using Display string (Time,'hh:mm:ss')
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/8/2004
Status: Unverified

FACT(s) (Environment):

Windows 32 Intel
Progress 9.1x

SYMPTOM(s):

Displayed time showing incorrectly in Progress editor


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

Progress using local machine for current date and time.

Displayed time showing 4 hours ahead of Windows system time

Correct time displaying when Progress uses date and time from remote database

Control Panel settings for Time and Date correctly set for GMT-05:00 Eastern Time (US & Canada)

CHANGE:

Manually set Time Zone (TZ) environment variable was a different value than Windows system time.

CAUSE:

Time Zone (TZ) was set to gmt0, which took precedence over the local Windows system time zone setting.

FIX:

Manually time zone (TZ) to the correct setting.

1. Go to Windows Start Menu
2. Select Settings
3. Select Control Panel
3. Click on System icon
4 Slectd Advanced Tab
5. Click on Environment Variables button
6. Select New under System Variables
7. Enter TZ for variable and EST5EDT for the value
8. Reboot system