ISO_YEAR_PART_UDF
This is a deprecated version of the SnowConvert documentation, please visit the official site HERE.
Definition
Determines the iso year from a given date truncated to the specified number of digits.
PUBLIC.ISO_YEAR_PART_UDF(INPUT TIMESTAMP_TZ, DIGITS INTEGER)Parameters
INPUT TIMESTAMP_TZ
The date to take the iso year from.
DIGITS INTEGER
The amount of digits wanted in the result.
Returns
Returns a varchar which is the iso year from a given date.
Usage example
Input:
Output:
Last updated
