DATE_FROM_PARTS

functionsupportedCore SQL functions

docs.snowflake.com ↗

Date & time functions

Creates a date from individual numeric components that represent the year, month, and day of the month.

Syntax

DATE_FROM_PARTS( <year>, <month>, <day> )

Parameters

NameRequiredDescription
yearrequiredThe integer expression to use as a year for building a date.
monthrequiredThe integer expression to use as a month for building a date, with January represented as 1, and December as 12.
dayrequiredThe integer expression to use as a day for building a date, usually in the 1-31 range.

Usage notes