Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Convert::ToDateTime Method (DateTime)

 

Returns the specified DateTime object; no actual conversion is performed.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

public:
static DateTime ToDateTime(
	DateTime value
)

Parameters

value
Type: System::DateTime

A date and time value.

Return Value

Type: System::DateTime

value is returned unchanged.

.NET Framework
Available since 1.1
Return to top
Show: