mkdate(Y;M;D)

Make a date value from a year, month, and day. (Available as of version 20.04)

Syntax

mkdate(Y;M;D)

Input

Argument Type Description
Y integer A scalar value or the name of a column containing an integer, representing the year.
M integer A scalar value or the name of a column containing an integer, representing the month. May be omitted, in which case defaults to 1.
D integer A scalar value or the name of a column containing an integer, representing the day of the month. May be omitted, in which case defaults to 1.

Return Value

Returns an integer value representing the date (YYYYMMDD).

For more information about date formats, see Dates and time.

If the input values are not in one of the supported formats listed above, the function returns an erroneous or illogical output.