Library View Topics Framed Contents Revised Topics Previous Topic Next Topic Search Search ResultsPrevious Topic MatchNext Topic Match Notes List Notes Print Download No PDF Handheld DisconnectedHandheld ConnectedHelp

7.1.18 INTEGER-OF-DAY



The INTEGER-OF-DAY function converts a date in the Gregorian calendar from Julian date form (YYYYDDD) to integer date form.

The function type is integer.

The function result is a 7-digit integer.


    ___ Format _____________________________________________________________ 
   |                                                                        |
   | >>__FUNCTION INTEGER-OF-DAY__(argument-1)___________________________>< |
   |                                                                        |
   |________________________________________________________________________|
argument-1
Must be an integer of the form YYYYDDD whose value is obtained from the calculation (YYYY * 1000) + DDD.


X >_Host_> Under OS/390 and VM, the INTDATE compiler option affects the
X starting date for the integer date functions. For details, see the
X IBM COBOL for OS/390 & VM Programming Guide. <_Host_<

The returned value is an integer that is the number of days the date represented by argument-1, succeeds December 31, 1600 in the Gregorian calendar.

Previous Topic Next Topic Copyright IBM Corp. 1991, 1998

IBM Library Server Copyright 1989, 2005 IBM Corporation. All rights reserved.





Return to library:   z/OS | z/OS.e | TPF | z/VSE | z/VM | IBM Hardware | IBM System z Redbooks
Glossary:   IBM terminology
Publications:   How to order publications
Readers:   Download IBM Library Reader | Download IBM Softcopy Reader | Download Adobe® Acrobat® Reader®
Library management:   Download IBM Softcopy Librarian
Contacts:   Contact z/OS


Adobe, the Adobe logo, Acrobat, the Acrobat logo, and Acrobat Reader are registered trademarks of Adobe Systems incorporated.