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

TdDate Structure
TdDate Members
Overload List