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+44e7797405725ef3cf24b3ff0eba94ce6c649601
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