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
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

TdPeriodTimeWithTimeZone Structure
TdPeriodTimeWithTimeZone Members
Overload List