mdy()
The dateTimeLib.mdy() system function returns a DATE value derived from three integers that represent the month, day of the month, and year of a calendar date. EGL throws a RuntimeException if you specify values outside the range of valid days and months.
Syntax
dateTimeLib.mdy(
month INT? in,
day INT? in,
year INT? in)
returns (result DATE?)
- month
- An integer in the range 1 through 12, representing the month.
- day
- An integer representing the day of the month in the range 1 through 28, 29, 30, or 31, depending on the month.
- year
- A four-digit integer representing the year. Do not use a short version of the year; 99 specifies a year in the first century, approximately 1,900 years ago.
- result
- A DATE value. If any of the input integers has a null value, the function returns a null value.