DateTimeLib.dateFromGregorian system function

DateTimeLib.dateFromGregorian returns a DATE value corresponding to an integer value that has the following format: YYYYMMdd.

Package

eglx.lang

Syntax
static function dateFromGregorian(gregorianDateAsInteger EInt in) 
       returns (EDate);
gregorianDateAsInteger
An integer value that has the format YYYYMMdd.
Example use

After the following code runs, the value of result is 1 February 1999:

result Date = DateTimeLib.dateFromGregorian(19990201);
Comments
Compatibility

Table 1. Compatibility
Target Issue
Java No issues.
JavaScript No issues.