For AI agents: an index of this documentation is at https://developer.rippling.com/llms.txt. Public pages have a Markdown version at the same URL with .md added.

Skip to main content
index

TRY_TO_DATE() Function

Use with AI:Rippling AI ChatGPT Claude Cursor

Description​

Attempts to convert a string to a date, returns NULL if unsuccessful

Syntax​

TRY_TO_DATE(expression, format)

Parameters​

ParameterDescriptionData TypeRequired
expressionColumn or expression to evaluateStringYes
formatFormat string for parsing or formattingStringNo

Example​

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