This documentation is archived and is not being maintained.

SPUtility.GregorianISOToIntlISODate Method

Windows SharePoint Services 3

Converts the specified date from the International Organization for Standardization (ISO) Gregorian format to the ISO International format.

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

public static string GregorianISOToIntlISODate(
	SPWeb web,
	string strISODate,
	int iCalType
)

Parameters

web
Type: Microsoft.SharePoint.SPWeb
A Microsoft.SharePoint.SPWeb object that represents the site.
strISODate
Type: System.String
A string that contains the date to convert in ISO Gregorian format.
iCalType
Type: System.Int32
A 32-bit integer that specifies a Microsoft.SharePoint.SPCalendarType value.

Return Value

Type: System.String
A string that contains the date in ISO International format.
Show: