INTEGER-OF-DAY [ HP COBOL II/XL Quick Reference Guide ] MPE/iX 5.0 Documentation
HP COBOL II/XL Quick Reference Guide
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.
Syntax
FUNCTION INTEGER-OF-DAY (parameter-1)
Parameters
parameter-1 Must be an integer of the form YYYYDDD, whose value
is obtained as follows:
(YYYY * 1000) + DDD
where YYYY represents the year in the Gregorian
calendar and must be an integer greater than 1600.
DDD represents the day of the year and must be a
positive integer less than 367. DDD must be valid
for the year specified.
MPE/iX 5.0 Documentation