Send feedback on this topic.
Teradata.Client.Provider
Addition(TdDate,Int32) Operator



Teradata.Client.Provider Namespace > TdDate Structure > Addition Operator : Addition(TdDate,Int32) Operator
A TdDate.
The number of days that will be added to the TdDate.
Adds the specified number of days to a TdDate.
Syntax
'Declaration
 
Overloads Public Operator +( _
   ByVal date As TdDate, _
   ByVal days As Integer _
) As TdDate
'Usage
 
public TdDate operator +( 
   TdDate date,
   int days
)
public:
TdDate operator +( 
   TdDate date,
   int days
)

Parameters

date
A TdDate.
days
The number of days that will be added to the TdDate.

Return Value

A TdDate is returned that is the result of adding the specified number of days to a TdDate.
Exceptions
ExceptionDescription
Unable to add the days to the TdDate.
Unable to add the number of days to the TdDate.
The result could not be represented as a TdDate.
Remarks

If the date parameter is Null a TdDate.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

TdDate Structure
TdDate Members
Overload List