SQL
ICU Timestamp with Time Zone Functions
<div class="nostroke_table"></div>  
|   |   |
|:--|:--------|
| **Description** |Truncate `timestamptz` by the specified interval `bucket_width`. Buckets are offset by `offset` interval. |
| **Example** | `time_bucket(INTERVAL '10 minutes', TIMESTAMPTZ '1992-04-20 15:26:00-07', INTERVAL '5 minutes')` |
| **Result** | `1992-04-20 15:25:00-07` |