Date.DaysInMonth (gb.util)

Static Function DaysInMonth ( Month As Integer [ , Year As Integer ] ) As Integer

Return the number of days in a month.

  • Month: The month between 1 (January) and 12 (December).

  • Year: The year (used for leap years). If not specified, the current year is used.