WEEKDAY
Returns the weekday index for a date (0=Monday, 6=Sunday).
Analyze Syntax
func.weekday(<date>)
Analyze Examples
func.weekday('2024-06-15')
┌───┐
│ 5 │
└───┘
SQL Syntax
WEEKDAY(<date>)
SQL Examples
SELECT WEEKDAY('2024-06-15');
┌───┐
│ 5 │
└───┘