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.
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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Shared Function GregorianISOToIntlISODate ( _
web As SPWeb, _
strISODate As String, _
iCalType As Integer _
) As String
'Usage
Dim web As SPWeb
Dim strISODate As String
Dim iCalType As Integer
Dim returnValue As String
returnValue = SPUtility.GregorianISOToIntlISODate(web, _
strISODate, iCalType)
public static string GregorianISOToIntlISODate(
SPWeb web,
string strISODate,
int iCalType
)
Parameters
web
Type: Microsoft.SharePoint.SPWebA Microsoft.SharePoint.SPWeb object that represents the site.
strISODate
Type: System.StringA string that contains the date to convert in ISO Gregorian format.
iCalType
Type: System.Int32A 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.