Send feedback on this topic.
Teradata.Client.Provider
Add(TdIntervalYearToMonth) Method



Teradata.Client.Provider Namespace > TdTimestampWithTimeZone Structure > Add Method : Add(TdIntervalYearToMonth) Method
A TdIntervalYearToMonth that will be added to this instance of TdTimestampWithTimeZone..
Adds the specified TdIntervalYearToMonth to this instance of TdTimestampWithTimeZone.
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal interval As TdIntervalYearToMonth _
) As TdTimestampWithTimeZone
'Usage
 
Dim instance As TdTimestampWithTimeZone
Dim interval As TdIntervalYearToMonth
Dim value As TdTimestampWithTimeZone
 
value = instance.Add(interval)

Parameters

interval
A TdIntervalYearToMonth that will be added to this instance of TdTimestampWithTimeZone..

Return Value

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

If interval or this instance of TdTimestampWithTimeZone is Null a TdTimestampWithTimeZone.Null will be returned.

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

Requirements
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdTimestampWithTimeZone Structure
TdTimestampWithTimeZone Members
Overload List