getMonth

fun getMonth(): Int

Retrieves the month of the year represented by @datetime in the Gregorian calendar.

Return

the month represented by @datetime

Since

2.26