TD_DAY_OF_WEEK_COMPATIBLE_UDF
Last updated
Last updated
This is a deprecated version of the SnowConvert documentation, please visit the official site .
User-defined function (UDF) that processes the day of the week in a timestamp that belongs to. It has the same behavior as the DAYNUMBER_OF_WEEK( date, 'COMPATIBLE') function from Teradata.
INPUT
TIMESTAMP_TZ
Date to get the day of the week from.
An integer between 1 and 7 where if January first is Wednesday then, 1 is equal to Wednesday, 2 is associated with Thursday, and so on.
Input:
Output: