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