SPIntlCal.LocalToJulianDay method (SPCalendarType, IntlDate)
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, _
id As IntlDate _
) As Integer
'Usage
Dim calType As SPCalendarType
Dim id As IntlDate
Dim returnValue As Integer
returnValue = SPIntlCal.LocalToJulianDay(calType, _
id)
public static int LocalToJulianDay(
SPCalendarType calType,
IntlDate id
)
Parameters
calType
Type: Microsoft.SharePoint.SPCalendarTypeAn SPCalendarType object that represents a calendar type.
id
Type: Microsoft.SharePoint.Utilities.IntlDateAn IntlDate object that represents an international date value.
Return value
Type: System.Int32
An integer value that represents the Julian day.