SqlDateTime::Parse Method (String^)

 

Converts the specified String representation of a date and time to its SqlDateTime equivalent.

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

public:
static SqlDateTime Parse(
	String^ s
)

Parameters

s
Type: System::String^

The string to be parsed.

Return Value

Type: System.Data.SqlTypes::SqlDateTime

A SqlDateTime structure equal to the date and time represented by the specified string.

.NET Framework
Available since 1.1
Return to top
Show: