Send feedback on this topic.
Teradata.Client.Provider
AddMonths Method (TdTimestampWithTimeZone)



Teradata.Client.Provider Namespace > TdTimestampWithTimeZone Structure : AddMonths Method
The number of months to add to the date.
Add the specified number of months to the this instance of TdTimestampWithTimeZone.
Syntax
'Declaration
 
Public Function AddMonths( _
   ByVal months As Integer _
) As TdTimestampWithTimeZone
'Usage
 
Dim instance As TdTimestampWithTimeZone
Dim months As Integer
Dim value As TdTimestampWithTimeZone
 
value = instance.AddMonths(months)
public TdTimestampWithTimeZone AddMonths( 
   int months
)
public:
TdTimestampWithTimeZone AddMonths( 
   int months
) 

Parameters

months
The number of months to add to the date.

Return Value

A TdTimestampWithTimeZone structure is returned.
Exceptions
ExceptionDescription
The result of the arithmetic operation resulted in an overflow of the timestamp.
Remarks

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

Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdTimestampWithTimeZone Structure
TdTimestampWithTimeZone Members