XsltConvert.ToDateTime(String) Method

Definition

Converts a specified value to a DateTime value.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 static DateTime ToDateTime(System::String ^ value);
public static DateTime ToDateTime (string value);
static member ToDateTime : string -> DateTime
Public Shared Function ToDateTime (value As String) As DateTime

Parameters

value
String

A string value.

Returns

A value of type DateTime.

Applies to