Returns the day of the month of a particular date.
day(date)
Parameter
Type
Description
date
Date
The date to get the day-of-month from
Number
The day of the month. For example, May 12th will return 12
day('2025-05-12')