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