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



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

Parameters

leftOperand
The left TdTimeWithTimeZone operand.
rightOperand
The right TdTimeWithTimeZone operand.

Return Value

A TimeSpan is returned that represents the time interval between the left and right TdTimeWithTimeZone.
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

TdTimeWithTimeZone Structure
TdTimeWithTimeZone Members
Overload List