# TO_DATE() Function

### Description

Converts a string into a date value based on a specified format.

### Syntax

```sql
TO_DATE(expression, format)
```

### Parameters

| Parameter | Description | Data Type | Required |
| --- | --- | --- | --- |
| _expression_ | Column or expression to evaluate | String | Yes |
| _format_ | Format string for parsing or formatting | String | No |

### Example

```sql
SELECT
    TO_DATE('2026-01-15', 'YYYY-MM-DD')
FROM
    rippling.employee.Employee
LIMIT
    5;
```

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

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