Consultor Eletrônico



Kbase P122580: TIME function retrieves the incorrect time in Progress editor.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   30/07/2007
Status: Unverified

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x
UNIX

SYMPTOM(s):

TIME function retrieves the incorrect time in Progress editor.

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

Progress using local machine for current date and time.

Correct time displaying when Progress uses the date and time from a remote database.

CAUSE:

The local system time zone is set to a time zone different from the default system time zone.

FIX:

Manually set the time zone to the correct setting.
To set TZ, type the command:
% setenv TZ timezone for C shell
$ TZ=timezone; export TZ for Bourne shell
This setting takes effect immediately. If you execute the date command, you will see the current time in your new zone.