YearMonthDayDaysInMonth Method |
Provides the number of days in the month of the indicated year.
Namespace:
AGI.Foundation.Time
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public static int DaysInMonth(
int year,
int month
)
Public Shared Function DaysInMonth (
year As Integer,
month As Integer
) As Integer
public:
static int DaysInMonth(
int year,
int month
)
static member DaysInMonth :
year : int *
month : int -> int
Parameters
- year
- Type: SystemInt32
The year. - month
- Type: SystemInt32
The month of the year.
Return Value
Type:
Int32The number of days in the month.
See Also