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