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, _
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
di
Type: Microsoft.SharePoint.Utilities.SimpleDateThe SimpleDate to evaluate.
iAdvance
Type: System.Int32The 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.