Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Returns the number of days in the month in the given date.

Namespace

datetime

Input

date(date)

Output

days in month(int)

Example

If basedate contains the date 1958–08–18, then the two following functions are equivalent, and return the integer value 31.

...