DAYNAME

Learn how to use the DAYNAME date/time function in PlaidCloud Lakehouse. Returns the name of the weekday for a date - see syntax, examples, and output.

Returns the name of the weekday for a date.

Analyze Syntax

func.dayname(<date>)

Analyze Examples

func.dayname('2024-06-15')

┌────────────┐
 'Saturday'  
└────────────┘

SQL Syntax

DAYNAME(<date>)

SQL Examples

SELECT DAYNAME('2024-06-15');

┌──────────┐
 Saturday  
└──────────┘