SPUtility.ParseDate Method

Definition

Overloads

ParseDate(SPWeb, String, SPDateFormat, Boolean)
ParseDate(SPWeb, String, String, Boolean)

ParseDate(SPWeb, String, SPDateFormat, Boolean)

public:
 static DateTime ParseDate(Microsoft::SharePoint::SPWeb ^ web, System::String ^ stDateTime, Microsoft::SharePoint::Utilities::SPDateFormat format, bool bToUTC);
public static DateTime ParseDate (Microsoft.SharePoint.SPWeb web, string stDateTime, Microsoft.SharePoint.Utilities.SPDateFormat format, bool bToUTC);
static member ParseDate : Microsoft.SharePoint.SPWeb * string * Microsoft.SharePoint.Utilities.SPDateFormat * bool -> DateTime
Public Shared Function ParseDate (web As SPWeb, stDateTime As String, format As SPDateFormat, bToUTC As Boolean) As DateTime

Parameters

web
SPWeb
stDateTime
String
format
SPDateFormat
bToUTC
Boolean

Returns

DateTime

Applies to

ParseDate(SPWeb, String, String, Boolean)

public:
 static DateTime ParseDate(Microsoft::SharePoint::SPWeb ^ web, System::String ^ stDate, System::String ^ stTime, bool bToUTC);
public static DateTime ParseDate (Microsoft.SharePoint.SPWeb web, string stDate, string stTime, bool bToUTC);
static member ParseDate : Microsoft.SharePoint.SPWeb * string * string * bool -> DateTime
Public Shared Function ParseDate (web As SPWeb, stDate As String, stTime As String, bToUTC As Boolean) As DateTime

Parameters

web
SPWeb
stDate
String
stTime
String
bToUTC
Boolean

Returns

DateTime

Applies to