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



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

Parameters

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

Return Value

A TdPeriodTimeWithTimeZone is returned that is the result of subtracting the TimeSpan from the TdPeriodTimeWithTimeZone.
Exceptions
ExceptionDescription
The result could not be represented as a TdPeriodTimeWithTimeZone.
Remarks
Refer to TdPeriodTimeWithTimeZone.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

TdPeriodTimeWithTimeZone Structure
TdPeriodTimeWithTimeZone Members
Overload List