Send feedback on this topic.
Teradata.Client.Provider
Addition(TdIntervalYearToMonth,TdTimestampWithTimeZone) Operator



Teradata.Client.Provider Namespace > TdTimestampWithTimeZone Structure > Addition Operator : Addition(TdIntervalYearToMonth,TdTimestampWithTimeZone) Operator
A TdIntervalYearToMonth that will be added to TdTimestampWithTimeZone.
A TdTimestampWithTimeZone.
Adds the specified TdIntervalYearToMonth to a TdTimestampWithTimeZone.
Syntax
'Declaration
 
Overloads Public Operator +( _
   ByVal interval As TdIntervalYearToMonth, _
   ByVal timestamp As TdTimestampWithTimeZone _
) As TdTimestampWithTimeZone
'Usage
 

Parameters

interval
A TdIntervalYearToMonth that will be added to TdTimestampWithTimeZone.
timestamp
A TdTimestampWithTimeZone.

Return Value

A TdTimestampWithTimeZone is returned that is the result of adding the TdIntervalYearToMonth to a TdTimestampWithTimeZone.
Exceptions
ExceptionDescription
Unable to add the specified TdIntervalYearToMonth to the TdTimestampWithTimeZone.
Remarks

If either parameter is Null a TdTimestampWithTimeZone.Null will be returned.

The interval interval will be added to TdTimestampWithTimeZone. For example, if the TdTimestampWithTimeZone value of "2008-10-10 12:50:56.2123+08:00" is added to the TdIntervalYearToMonth value of "10-03" (10 years, 3 months) the operation will result in a TdTimestampWithTimeZone value of "2019-01-10 12:50:56.2123+08:00".

Requirements

Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

See Also

Reference

TdTimestampWithTimeZone Structure
TdTimestampWithTimeZone Members
Overload List