Share via


SPIntlCal.DaysInLocalMonth method (SPCalendarType, SimpleDate)

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

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Function DaysInLocalMonth ( _
    calType As SPCalendarType, _
    ByRef di As SimpleDate _
) As Integer
'Usage
Dim calType As SPCalendarType
Dim di As SimpleDate
Dim returnValue As Integer

returnValue = SPIntlCal.DaysInLocalMonth(calType, _
    di)
public static int DaysInLocalMonth(
    SPCalendarType calType,
    ref SimpleDate di
)

Parameters

Return value

Type: System.Int32
A 32-bit integer that represents the number of days in the month.

See also

Reference

SPIntlCal class

SPIntlCal members

DaysInLocalMonth overload

Microsoft.SharePoint.Utilities namespace