DAYNAME_LONG_UDF (TIMESTAMP_TZ)

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:

Official Snowflake Snowconvert Documentation

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 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