DAYOFYEAR (Lakehouse v2)
Returns the day of the year from a date.
Analyze Syntax
Section titled “Analyze Syntax”func.dayofyear(<date>)Analyze Examples
Section titled “Analyze Examples”func.dayofyear('2024-06-15')
┌─────┐│ 167 │└─────┘SQL Syntax
Section titled “SQL Syntax”DAYOFYEAR(<date>)SQL Examples
Section titled “SQL Examples”SELECT DAYOFYEAR('2024-06-15');
┌─────┐│ 167 │└─────┘