DateDaysInMonth Method

Returns the number of days in the month given by a year and month.

Definition

Namespace: Austra.Library.Dates
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.5.0+d1268756e036101f601080f153b3997e72fc912d
C#
public static int DaysInMonth(
	int year,
	int month
)

Parameters

year  Int32
The year.
month  Int32
The month to check.

Return Value

Int32
The number of days in the month for that year.

See Also