DateTime.getDayOfMonth

int getDayOfMonth()

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

Returns

the day of the month