SqlDateTime Implicit Conversion (DateTime to SqlDateTime)
.NET Framework (current version)
Converts a DateTime structure to a SqlDateTime structure.
Assembly: System.Data (in System.Data.dll)
Parameters
- value
-
Type:
System::DateTime
A DateTime structure.
Return Value
Type: System.Data.SqlTypes::SqlDateTimeA SqlDateTime structure whose Value is equal to the combined Date and TimeOfDay properties of the supplied DateTime structure.
.NET Framework
Available since 1.1
Available since 1.1
Show: