dateValueFromGregorian()

The function DateTimeLib.dateValueFromGregorian returns a DATE value that corresponds to an integer representation of a Gregorian date.

  DateTimeLib.dateValueFromGregorian(
    gregorianIntegerDate INT in)
  returns (result DATE)
result
A variable of type DATE.
gregorianIntegerDate
An integer value representing a Gregorian date in the format 00YYYMMDD or 00YYMMDD.

Related concepts
Syntax diagram for EGL functions

Related reference
DATE
EGL library DateTimeLib

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.