Database & utility
Scalar
century()
Extract the century component from a date or timestamp
Reference: DuckDB 2.0.0
Arguments & returns
4 overloadscentury(ts)
Scalar
Example
Haybarn WASM 2.0.0-rc12 · In your browser
Engine example · Run to view results.