SqlDateTime::Subtraction Operator (SqlDateTime, TimeSpan)
.NET Framework (current version)
Subtracts the supplied TimeSpan structure, t, from the supplied SqlDateTime structure.
Assembly: System.Data (in System.Data.dll)
Parameters
- x
-
Type:
System.Data.SqlTypes::SqlDateTime
A SqlDateTime structure.
- t
-
Type:
System::TimeSpan
A TimeSpan structure.
Return Value
Type: System.Data.SqlTypes::SqlDateTimeA SqlDateTime structure representing the results of the subtraction.
.NET Framework
Available since 1.1
Available since 1.1
Show: