Share via


ISPCalendar.DaysInMonth Method (SimpleDate)

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 _
) As Integer
'Usage
Dim instance As ISPCalendar
Dim di As SimpleDate
Dim returnValue As Integer

returnValue = instance.DaysInMonth(di)
int DaysInMonth(
    ref SimpleDate di
)

Parameters

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