Skip to main content

DAY

Use the DAY function to return the day-of-month from a Date or Date/Time. The day is given as a number ranging from 1 to 31.

Use

DAY( date )
Return the day of the month from a date as an integer between 1 and 31.

ParameterRequiredDescription
dateYesthe date to extract the day of month from

ReturnsNumber

Use with literals

DAY(DATE(2024, 1, 31))

returns 31

Use with fields

DAY(@CompleteDetails.out.DOB)

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