If it is important, replacing the ACCEPT FROM DATE with the intrinsic FUNCTION CURRENT-DATE will give you all the information you need.

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Perryman, Brian
Sent: Wednesday, August 22, 2007 10:12 AM
To: [email protected]
Subject: Cobol ACCEPT-DATE

Hi folks

Is ACCEPT-DATE supposed to return GMT time, or local time?

We have some issues with a program which was recently rescheduled to run just after midnight (British Summer Time) - but the date is a day out.. I'm wondering if it's because it's an old program getting the date in the wrong way somehow (that we can fix), or if that's just the way Cobol works..??

Cheers

Brian

_________________________________________________________________
See what you’re getting into…before you go there http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_preview_0507

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to