Skip to main content

DATE

Use the DATE function to create a date from year, month, and day values, which can be literals, fields, or formulas that return Number values.

Use

DATE( year, month, day )
Create a date from the year, month and day.

ParameterRequiredDescription
yearYesthe value of the year
monthYesthe value of the month from 1 to 12
dayYesthe value of the day of the month from 1 to 31

ReturnsDate

Use with literals

DATE(2024, 1, 31)

returns 31/01/2024

Use with fields

DATE(YEAR(@CompleteDetails.out.DOB), 1, 1)

if field @CompleteDetails.out.DOB is 27/02/1996, returns 01/01/1996