# TO_TIMESTAMP() Function

### Description

Converts a string to a timestamp in UTC format

### Syntax

```sql
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

```sql
SELECT
    TO_TIMESTAMP('2026-01-15 12:00:00', 'YYYY-MM-DD HH24:MI:SS')
FROM
    rippling.employee.Employee
LIMIT
    5;
```

Source: https://developer.rippling.com/documentation/rippling-platform/transformations/sql-reference/to_timestamp

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
