Description
Converts a string to a timestamp in UTC format
Syntax
TO_TIMESTAMP(expression [, format])
Parameters
| Parameter | Description | Data Type | Required |
|---|---|---|---|
| expression | Column or expression to evaluate | Any | Yes |
| format | Format string for parsing or formatting | String | No |
Notes
- The string needs to be in the format yyyy-mm-dd hh:mm:ss
Example
SELECT
TO_TIMESTAMP('2026-01-15 12:00:00', 'YYYY-MM-DD HH24:MI:SS')
FROM
rippling.employee.Employee
LIMIT
5;