Spread WinForms 15
GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / CalcHelper Class / GetDaysInMonth Method
An integer value indicates the year.
An integer value indicates the month.


In This Topic
GetDaysInMonth Method
In This Topic
Gets the total days in the specified month.
Syntax
'Declaration
 
Public Shared Function GetDaysInMonth( _
   ByVal year As Integer, _
   ByVal month As Integer _
) As Integer
 
'Usage
 
Dim year As Integer
Dim month As Integer
Dim value As Integer
 
value = CalcHelper.GetDaysInMonth(year, month)

Parameters

year
An integer value indicates the year.
month
An integer value indicates the month.

Return Value

An integer value represents the total days in the specified month.
See Also