DAYNAME_LONG_UDF

This is a deprecated version of the SnowConvert documentation, please visit the official site HERE.

This is the user-defined function (UDF) overloaded with one parameter.

Definition

UDF that overloads the function DAYNAME_LONG_UDF and applies the default case (capitalized).

PUBLIC.DAYNAME_LONG_UDF(INPUT TIMESTAMP_TZ)

Parameters

INPUT TIMESTAMP_TZ

The date to take the dayname of.

Returns

Returns a varchar with the complete name of a day.

Usage example

Input:

SELECT PUBLIC.DAYNAME_LONG_UDF(DATE '2022-06-30');

Output:

'Thursday'

Last updated