DateTime.getMonth
int getMonth() nothrowRetrieves the month of the year represented by datetime in the Gregorian calendar.
Returns
the month represented by datetime
int getMonth() nothrowRetrieves the month of the year represented by datetime in the Gregorian calendar.