SqlDateTime Explicit Conversion (SqlDateTime to DateTime)
.NET Framework (current version)
Converts the SqlDateTime structure to a DateTime structure.
Assembly: System.Data (in System.Data.dll)
Parameters
- x
-
Type:
System.Data.SqlTypes::SqlDateTime
A SqlDateTime structure.
Return Value
Type: System::DateTimeA DateTime object whose Date and TimeOfDay properties contain the same date and time values as the Value property of the supplied SqlDateTime structure.
.NET Framework
Available since 1.1
Available since 1.1
Show: