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



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

Parameters

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

Return Value

A TdPeriodTimestampWithTimeZone is returned that is the result of subtracting the TimeSpan from the TdDate.
Exceptions
ExceptionDescription
The result could not be represented as a TdPeriodTimestampWithTimeZone.
The TdPeriodTimestampWithTimeZone beginning bound is greater or equal to the ending bound of the period.
Remarks
Refer to TdPeriodTimestampWithTimeZone.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

TdPeriodTimestampWithTimeZone Structure
TdPeriodTimestampWithTimeZone Members
Overload List