YEAR_BEGIN_ISO_UDF
Last updated
Last updated
This is a deprecated version of the SnowConvert documentation, please visit the official site .
UDF that reproduces the TD_YEAR_BEGIN(Date, 'ISO') functionality. It depends on the DAYOFWEEKISO
of PUBLIC.FIRST_DAY_JANUARY_OF_ISO_UDF
add or subtraction days to find the Monday closer to PUBLIC.FIRST_DAY_JANUARY_OF_ISO_UDF
.
INPUT
TIMESTAMP_TZ
The date to get the first day of the year using the ISO calendar.
The first day of the year using the ISO calendar.
Input:
Output: