Dates & time
Scalar
hour()
Extract the hour component from a date or timestamp
Reference: DuckDB 1.3.2
Arguments & returns
6 overloadshour(ts)
Scalar
Example
Haybarn WASM 2.0.0-rc12 · In your browser
Engine example · Run to view results.