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