Send feedback on this topic.
Teradata.Client.Provider
Subtraction(TdTimestampWithTimeZone,TdTimestampWithTimeZone) Operator



Teradata.Client.Provider Namespace > TdTimestampWithTimeZone Structure > Subtraction Operator : Subtraction(TdTimestampWithTimeZone,TdTimestampWithTimeZone) Operator
The left TdTimestampWithTimeZone operand.
The right TdTimestampWithTimeZone operand.
The time interval between two TdTimestampWithTimeZones is returned when the TdTimestampWithTimeZones are subtracted from each other.
Syntax
'Declaration
 
Overloads Public Operator -( _
   ByVal leftOperand As TdTimestampWithTimeZone, _
   ByVal rightOperand As TdTimestampWithTimeZone _
) As TimeSpan
'Usage
 

Parameters

leftOperand
The left TdTimestampWithTimeZone operand.
rightOperand
The right TdTimestampWithTimeZone operand.

Return Value

A TimeSpan is returned that represents the time interval between the left and right TdTimestampWithTimeZone.
Exceptions
ExceptionDescription
One of the operands is Null.
Requirements
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdTimestampWithTimeZone Structure
TdTimestampWithTimeZone Members
Overload List