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



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

Parameters

months
The number of months to add to the date.

Return Value

A TdTimestamp structure is returned.
Exceptions
ExceptionDescription
Unable to add the specified number of months to this instance of TdTimestamp.
Remarks

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

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

TdTimestamp Structure
TdTimestamp Members