Skip to content

TFPConstExpression.CreateDateTime

Create constant expression with datetime value

Declaration

Source position: fpexprpars.pp line 478

public 
constructor TFPConstExpression.CreateDateTime(AValue: TDateTime);

Description

The CreateDateTime constructor creates a new constant expression node that holds a datetime value. The datetime constant can be used in expressions for date/time arithmetic, comparisons, and function parameters that expect datetime arguments.