Dates & time
Scalar
timezone()
Extract the timezone component from a date or timestamp
Reference: DuckDB 2.0.0
Arguments & returns
13 overloadstimezone(ts)
Scalar
timezone(offset, time_tz)
Scalar
| Overload link | offset | time_tz |
Returns |
|---|---|---|---|
| #08 | INTERVAL | TIME WITH TIME ZONE |
TIME WITH TIME ZONE |
timezone(timezone, timestamp)
Scalar
Example
Haybarn WASM 2.0.0-rc12 ยท In your browser
Engine example ยท Run to view results.