Important Notice: Migration of Documentation Website
Please be advised that our documentation website is currently undergoing a migration to a new platform. To ensure you have access to the most up-to-date information, we kindly request that you visit our new documentation website located at:
For any immediate assistance or if you encounter any issues, please contact our support team at [email protected].
Thank you for your understanding.
Definition
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.
PUBLIC.YEAR_BEGIN_ISO_UDF(INPUT DATE)
Parameters
INPUT TIMESTAMP_TZ
The date to get the first day of the year using the ISO calendar.