SQL
Date Functions
<div class="nostroke_table"></div>  
|   |   |
|:--|:--------|
| **Description** |Truncate `date` by the specified interval `bucket_width`. Buckets are offset by `offset` interval. |
| **Example** | `time_bucket(INTERVAL '2 months', DATE '1992-04-20', INTERVAL '1 month')` |
| **Result** | `1992-04-01` |