Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the number of days in the month of the specified date.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
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
di
Type: Microsoft.SharePoint.Utilities.SimpleDateThe SimpleDate to evaluate.
Return value
Type: System.Int32
An integer that represents the number of days in the month of the specified date.