ISPCalendar.DaysInMonth Method (SimpleDate, Int32)

Returns the number of days in the month of the specified date.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Function DaysInMonth ( _
    ByRef di As SimpleDate, _
    iAdvance As Integer _
) As Integer
'Usage
Dim instance As ISPCalendar
Dim di As SimpleDate
Dim iAdvance As Integer
Dim returnValue As Integer

returnValue = instance.DaysInMonth(di, _
    iAdvance)
int DaysInMonth(
    ref SimpleDate di,
    int iAdvance
)

Parameters

  • iAdvance
    Type: System.Int32

    The advance value to use for a Hijri calendar date.

Return Value

Type: System.Int32
An integer that represents the number of days in the month of the specified date.

See Also

Reference

ISPCalendar Interface

ISPCalendar Members

DaysInMonth Overload

Microsoft.SharePoint.Utilities Namespace