MDY(m,d,y) literals
MDY()
literals define a DATE
literal in an
expression.
Syntax
MDY( month-integer, day-integer, year-integer )
- month-integer is an integer literal representing the month (1-12).
- day-integer is an integer literal representing the day in the month (1-31).
- year-integer is an integer literal representing a four-digit year.
Usage
Date MDY()
literals are used to define the initializer value for a variable or the value of a constant of type DATE
.
Example
MAIN
DEFINE d DATE = MDY(12,24,2018)
DISPLAY "Date = ", d
END MAIN