SQL
Scalar Timestamp Functions
<div class="nostroke_table"></div>  
|   |   |
|:--|:--------|
| **Description** |Converts a timestamp to milliseconds since the epoch. |
| **Example** | `epoch_ms('2022-11-07 08:43:04.123456'::TIMESTAMP);` |
| **Result** | `1667810584123` |  
<div class="nostroke_table"></div>  
|   |   |
|:--|:--------|
| **Description** |Return the total number of milliseconds since the epoch. |
| **Example** | `epoch_ms(timestamp '2021-08-03 11:59:44.123456')` |
| **Result** | `1627991984123` |