Calendar.getDaysInMonth

Returns the number of days in the specified _year and _month of the current era.

  1. uint getDaysInMonth(uint year, uint month)
    class Calendar
    uint
    getDaysInMonth
    (
    uint year
    ,
    uint month
    )
  2. uint getDaysInMonth(uint year, uint month, uint era)

Parameters

year uint

An integer representing the _year.

month uint

An integer representing the _month.

Return Value

Type: uint

The number of days in the specified _year and _month of the current era.

Meta