DateTimeLib.mdy system function

DateTimeLib.mdy returns a DATE value corresponding to integer values that represent the month, day, and year.

Package

eglx.lang

Syntax
static function mdy(monthValue EInt in, dayValue EInt in, yearValue EInt in) 
       returns(EDate);
monthValue
Numeric month value, from 1 to 12.
dayValue
Numeric day value, from 1 to 31. The range varies according to the month.
yearValue
Numeric year value.
Example use

After the following code runs, the value of result is 1 February 2012.

result Date = DateTimeLib.mdy(2, 1, 2012);
Comments
Compatibility

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