Subject: | |
From: | |
Reply To: | |
Date: | Thu, 11 Jun 1998 11:08:37 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Hi,
I think you have set the TZ ( time zone) variable incorrectly or
it is not set.
You can find a complete listing of TZ values in the COBOL manual under :
"function current-date".
According to the manual:
If TZ is not set, CURRENT-DATE assumes Eastern Standard Time (EST5EDT).
I hope this helps.
Michael
--------------------------------------
John writes :
This is my first posting, so bear with me, please.
I am using the FUNCTION CURRENT-DATE in a COBOL program and it works
fine. It just gets the wrong date. For today's date I get 5-28-98,
which was two weeks ago.
I vaguely remember that this comes from one of the system dates. Can
anyone tell me which date it is and how to change it so that I will get
the correct.
The HP Response center talked me through this about 6 months. Following
their instructions I changed the date. Then the function worked fine,
but other things on the system went south, like OCS schedules, etc.
Thanks.
John Bleazard
Boeing Computer Services
Wichita, KS
(316)526-2365
|
|
|