getMonth

open fun getMonth(): Int(source)

Gets the current month.

If the calendar is lunar, it returns the lunar month. Otherwise, it returns the Gregorian month (0-11).

Return

The current month.