Calendar.getMonth

Gets the month of the selected date.

class Calendar
int
getMonth
()

Return Value

Type: int

The month of the selected date (as a number between 0 and 11).