Dates & time
Scalar
year()
Extract the year component from a date or timestamp
Arguments & returns
4 overloadsyear(ts)
Scalar
Example
Haybarn WASM 1.5.6-rc6 · In your browser
Engine example · Run to view results.