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
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

TdTime Structure
TdTime Members
Overload List