YEAR_PART_UDF
Last updated
Last updated
This is a deprecated version of the SnowConvert documentation, please visit the official site .
Process the year from a given date truncated to the specified number of digits.
INPUT
TIMESTAMP_TZ
The date to take the year from.
DIGITS
INTEGER
The amount of digits wanted in the result.
Returns the year from a given date.
Input:
Output: