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

TO_TIMESTAMP() Function

Use with AI:Rippling AI ChatGPT Claude Cursor

Description​

Converts a string to a timestamp in UTC format

Syntax​

TO_TIMESTAMP(expression [, format])

Parameters​

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

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;