DaysInMonth()
DateTime::DaysInMonth(int, int) method
Returns the number of days in the specified month of the specified year.
static int System::DateTime::DaysInMonth(int year, int month)
Arguments
| Parameter | Type | Description |
|---|---|---|
| year | int | The year |
| month | int | The ordinal number of the month |
Return Value
The number of days is the specified month of the specified year
See Also
- Class DateTime
- Namespace System
- Library Aspose.Slides