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

YEAR() Function

Use with AI:Rippling AI ChatGPT Claude Cursor

Description​

Extracts the year from a date or timestamp

Syntax​

YEAR(date)

Parameters​

ParameterDescriptionRequired
dateThe date to return the year index from; A date, datetime, or timestampYes

Example​

SELECT YEAR(start_date)
FROM rippling.employee.Employee;