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
ProductVersionsPlatforms
.NET6, 7Windows, Linux, MacOS
.NET Framework4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdIntervalDayToSecond Structure
TdIntervalDayToSecond Members