DateTime.getDayOfMonth

Retrieves the day of the month represented by @datetime in the gregorian calendar.

class DateTime
int
getDayOfMonth
()

Return Value

Type: int

the day of the month

Meta

Since

2.26