The DATE-OF-INTEGER function converts a date in the Gregorian calendar from integer date form to standard date form (YYYYMMDD).
The function type is integer.
The function result is an eight-digit integer.
If the DATEPROC compiler option is in effect, the returned value is an expanded date field with implicit DATE FORMAT YYYYXXXX.
The INTDATE compiler option affects the starting date for the integer date functions. For details, see the Enterprise COBOL Programming Guide.
The returned value represents the International Standards Organization (ISO) standard date equivalent to the integer specified as argument-1.
The returned value is an integer of the form YYYYMMDD where YYYY represents a year in the Gregorian calendar; MM represents the month of that year; and DD represents the day of that month.