datetime::get-days-in-month

Returns the number of days in the specified month of the specified year.

Usage

int datetime::get-days-in-month(year, month)

Parameters

Name Type Description
year int The year.
month int The month (a number ranging from 1 to 12).

Return Value

The number of days in month for the specified year.

Exceptions

The function will fail in any of the following circumstances:

Requirements

Assembly: NAnt.Core (0.90.3780.0)