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