Subject: | |
From: | |
Reply To: | Trudeau, James L |
Date: | Thu, 11 Jun 1998 12:46:32 -0600 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Howdy,
I pretty much agree with Michael. Also there is some helpful
stuff in the CI HELP SETCLOCK. More also there was a
thread on all the clocks and variables on this list in early/mid
April. A trip to the 3000-l archives may be in order, it sure
helped me get my clocks in a row.
jt (send rain)
> -----Original Message-----
> From: [log in to unmask]
> [SMTP:[log in to unmask]]
> Sent: Thursday, June 11, 1998 1:09 PM
> To: [log in to unmask]
> Subject: Re: Function CURRENT-DATE
>
> 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
|
|
|