Skip to content

TFPExprIdentifierDef.AsDateTime

Get identifier value as datetime

Declaration

Source position: fpexprpars.pp line 543

public property AsDateTime: TDateTime;

Description

The AsDateTime property returns the identifier's value converted to a date/time value. If the identifier represents a variable, it retrieves the current value; if it represents a function, it calls the function and returns the result converted to datetime format.