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



Teradata.Client.Provider Namespace > TdPeriodTime Structure > Subtraction Operator : Subtraction(TdPeriodTime,TimeSpan) Operator
A TdPeriodTime.
A TimeSpan that will be subtracted from the TdPeriodTime
Subtracts the specified TimeSpan from a TdPeriodTime.
Syntax
'Declaration
 
Overloads Public Operator -( _
   ByVal period As TdPeriodTime, _
   ByVal timeSpan As TimeSpan _
) As TdPeriodTime
'Usage
 
public TdPeriodTime operator -( 
   TdPeriodTime period,
   TimeSpan timeSpan
)
public:
TdPeriodTime operator -( 
   TdPeriodTime period,
   TimeSpan timeSpan
)

Parameters

period
A TdPeriodTime.
timeSpan
A TimeSpan that will be subtracted from the TdPeriodTime

Return Value

A TdPeriodTime is returned that is the result of subtracting the TimeSpan from the TdPeriodTime.
Exceptions
ExceptionDescription
The result could not be represented as a TdPeriodTime.
Remarks
Refer to TdPeriodTime.Subtract and Period Arithmetic for additional information.
Requirements

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

See Also

Reference

TdPeriodTime Structure
TdPeriodTime Members
Overload List