Send feedback on this topic.
Teradata.Client.Provider
Subtract(TdIntervalSecond,TdIntervalSecond) Method



Teradata.Client.Provider Namespace > TdIntervalSecond Structure > Subtract Method : Subtract(TdIntervalSecond,TdIntervalSecond) Method
A TdIntervalSecond to subtract from.
A TdIntervalSecond to subtract.
A TdIntervalSecond is subtracted from another TdIntervalSecond.
Syntax
'Declaration
 
Public Overloads Shared Function Subtract( _
   ByVal left As TdIntervalSecond, _
   ByVal right As TdIntervalSecond _
) As TdIntervalSecond
'Usage
 
Dim left As TdIntervalSecond
Dim right As TdIntervalSecond
Dim value As TdIntervalSecond
 
value = TdIntervalSecond.Subtract(left, right)
public static TdIntervalSecond Subtract( 
   TdIntervalSecond left,
   TdIntervalSecond right
)
public:
static TdIntervalSecond Subtract( 
   TdIntervalSecond left,
   TdIntervalSecond right
) 

Parameters

left
A TdIntervalSecond to subtract from.
right
A TdIntervalSecond to subtract.

Return Value

A new TdIntervalSecond as the result of subtracting right from the left.
Exceptions
ExceptionDescription
The resultant operation returns a value greater than the TdIntervalSecond.MaxValue or less than the TdIntervalSecond.MinValue.
Remarks

If either parameter is Null a TdIntervalSecond.Null will be returned.

The returned TdIntervalSecond will contain a precision set to the TdIntervalSecond.MaxPrecision. The scale will always be set to the the scale of the operand containing the greatest scale.

Requirements

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

See Also

Reference

TdIntervalSecond Structure
TdIntervalSecond Members
Overload List