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

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdTimestampWithTimeZone Structure
TdTimestampWithTimeZone Members
Overload List