dateValueFromGregorian()

The dateTimeLib.dateValueFromGregorian() system function returns a DATE value that corresponds to an integer representation of a Gregorian date.

Syntax

  dateTimeLib.dateValueFromGregorian(
    gregorianIntegerDate INT? in)
  returns (result DATE?)
gregorianIntegerDate
An integer value representing a Gregorian date in the format yyyyMMdd. For example, 19990201 represents February 1, 1999.
result
A variable of type DATE. If gregorianIntegerDate is null, the function returns a null value.

Feedback