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

TdTimestampWithTimeZone Structure
TdTimestampWithTimeZone Members