共用方式為


SPUtility.GregorianISOToIntlISODate method

將指定的日期從國際組織 (ISO) 西曆格式轉換成 ISO 國際格式。

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

Syntax

'宣告
Public Shared Function GregorianISOToIntlISODate ( _
    web As SPWeb, _
    strISODate As String, _
    iCalType As Integer _
) As String
'用途
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
)

參數

  • strISODate
    Type: System.String

    包含要轉換 ISO 西曆格式的日期字串。

傳回值

Type: System.String
包含 ISO 國際格式中的日期字串。

請參閱

參照

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace