R/duckdb-funs.R
dayofweek.Rd
Extract the dayofweek component from a date or timestamp.
DATE | INTERVAL | TIMESTAMP | TIMESTAMP WITH TIME ZONE
BIGINT
dayofweek(ts = DATE)
dayofweek(ts = INTERVAL)
dayofweek(ts = TIMESTAMP)
dayofweek(ts = `TIMESTAMP WITH TIME ZONE`)
dayofweek(timestamp '2021-08-03 11:59:44.123456')