DATE-OF-INTEGER Function

The DATE-OF-INTEGER function converts a date in the Gregorian calendar from integer date form to standard date form (YYYYMMDD). The type of this function is integer.

Usage

FUNCTION DATE-OF-INTEGER (argument-1)

Parameter

argument-1 A positive integer that represents a number of days succeeding December 31, 1600 in the Gregorian calendar.

Returned Values

  1. The returned value represents the ISO standard date equivalent to the integer specified in argument-1.
  2. The returned value is in 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.