Platform Core .NET Assemblies API
DateDiff(DateDiffQueryFunctionInterval,IQueryColumnExpressionConvertible,IQueryColumnExpressionConvertible) Method
See Also  Send Feedback
Terrasoft.Core.DB Namespace > Func Class > DateDiff Method : DateDiff(DateDiffQueryFunctionInterval,IQueryColumnExpressionConvertible,IQueryColumnExpressionConvertible) Method
interval
Unit of measurement of the date difference.
startDateExpression
An expression of the column containing the start date.
endDateExpression
An expression of the column containing the end date.

Glossary Item Box

Gets the function to determine the date difference for the passed column expressions.

Syntax

 
C#
 
 

Parameters

interval
Unit of measurement of the date difference.
startDateExpression
An expression of the column containing the start date.
endDateExpression
An expression of the column containing the end date.

Return Value

The function that returns the interval date difference for the startDateExpression and endDateExpression expressions.

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.