Skip to content

Returns the day of the month from a date. Alias for DAY.

func.dayofmonth(<date>)
func.dayofmonth('2024-06-15')
┌────┐
│ 15 │
└────┘
DAYOFMONTH(<date>)
SELECT DAYOFMONTH('2024-06-15');
┌────┐
│ 15 │
└────┘