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.
- YYYY represents the year in the Gregorian calendar. It must be an
integer greater than 1600, but not greater than 9999.
- DDD represents the day of the year. It must be a positive integer
less than 367, provided that it is valid for the year specified.
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.
© 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.