共用方式為


SPUtility.GregorianISOToIntlISODate Method

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

  • strISODate
    Type: System.String

    A string that contains the date to convert in ISO Gregorian format.

Return Value

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

See Also

Reference

SPUtility Class

SPUtility Members

Microsoft.SharePoint.Utilities Namespace