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