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
)
參數
web
Type: Microsoft.SharePoint.SPWebMicrosoft.SharePoint.SPWeb物件,代表該網站。
strISODate
Type: System.String包含要轉換 ISO 西曆格式的日期字串。
iCalType
Type: System.Int3232 位元整數,會指定Microsoft.SharePoint.SPCalendarType值。
傳回值
Type: System.String
包含 ISO 國際格式中的日期字串。