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: