WEEK (Lakehouse v2)
Returns the week number of the year for a date.
Analyze Syntax
Section titled “Analyze Syntax”func.week(<date>[, <mode>])Analyze Examples
Section titled “Analyze Examples”func.week('2024-06-15')
┌────┐│ 24 │└────┘SQL Syntax
Section titled “SQL Syntax”WEEK(<date>[, <mode>])SQL Examples
Section titled “SQL Examples”SELECT WEEK('2024-06-15');
┌────┐│ 24 │└────┘