Share via


SPIntlCal.LocalToJulianDay method (SPCalendarType, SimpleDate)

Returns the Julian day of the specified date in the specified calendar type.

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

Syntax

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

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

Parameters

Return value

Type: System.Int32
An integer value that represents the Julian day.

See also

Reference

SPIntlCal class

SPIntlCal members

LocalToJulianDay overload

Microsoft.SharePoint.Utilities namespace