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



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

Parameters

leftOperand
The left TdTime operand.
rightOperand
The right TdTime operand.

Return Value

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

TdTime Structure
TdTime Members
Overload List