SQL
Scalar Timestamp Functions
<div class="nostroke_table"></div>  
|   |   |
|:--|:--------|
| **Description** |Get the listed [subfields](#docs:sql:functions:datepart) as a `struct`. The list must be constant. |
| **Example** | `date_part(['year', 'month', 'day'], TIMESTAMP '1992-09-20 20:38:40')` |
| **Result** | `{year: 1992, month: 9, day: 20}` |