mkyrqtr(Y;Q)
Make a year+quarter value from a year and a quarter. (Available as of version 20.04)
Syntax
mkyrqtr(Y;Q)
Input
Argument | Type | Description |
---|---|---|
Y |
integer | A scalar value or the name of a column containing an integer, representing the year. |
Q |
integer | A scalar value or the name of a column containing an integer, representing the quarter. May be omitted, in which case defaults to 1. |
Return Value
Returns an integer value representing the year and quarter (YYYYQQ
).
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.