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



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

Parameters

left
A TdIntervalDayToSecond to subtract from.
right
A TdIntervalDayToSecond to subtract.

Return Value

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

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

The returned TdIntervalDayToSecond will contain a precision set to the TdIntervalDayToSecond.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

TdIntervalDayToSecond Structure
TdIntervalDayToSecond Members