# TO_ISO8601() Function

### Description

Generate an ISO 8601 string from a value with type date, timestamp, or timestamp with time zone

### Syntax

```sql
TO_ISO8601(timestamp)
```

### Parameters

| Parameter | Description | Data Type | Required |
| --- | --- | --- | --- |
| _timestamp_ | Timestamp value | Timestamp | Yes |

### Example

```sql
SELECT
    TO_ISO8601(created_at)
FROM
    rippling.employee.Employee
LIMIT
    5;
```

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

> 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.
