LazyColumn.dt.weekday
weekday
Returns the day of the week for each datetime value (1 to 7).
Note
The dayofweek function in DuckDB returns 1 for Monday through 7 for Sunday.
Returns:
| Name | Type | Description |
|---|---|---|
LazyColumn |
LazyColumn
|
A new LazyColumn of integer values representing the weekday, where 1=Monday, 7=Sunday. |
Examples: