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