Platform Core .NET Assemblies API
DateAdd(DatePartQueryFunctionInterval,Int32,IQueryColumnExpressionConvertible) Method
See Also  Send Feedback
Terrasoft.Core.DB Namespace > Func Class > DateAdd Method : DateAdd(DatePartQueryFunctionInterval,Int32,IQueryColumnExpressionConvertible) Method
interval
Datepart to which the time span is added.
number
The time span to add.
expression
Expression of the column containing the original value of date and time.

Glossary Item Box

Returns an instance of the DateAddQueryFunction function. The datepart, time span and alias of the column containing the original date value are passed as arguments to this function.

Syntax

 
C#
 
 

Parameters

interval
Datepart to which the time span is added.
number
The time span to add.
expression
Expression of the column containing the original value of date and time.

Return Value

The instance of the DateAddQueryFunction function.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.