mkyrmo(Y;M)
Make a year+month value from a year and a month. (Available as of version 20.04)
Syntax
mkyrmo(Y;M)
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. |
Return Value
Returns an integer value representing the year and month (YYYYMM
).
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.