Sign in Join
FPDoc Onlineexperiment

TFPExprIdentifierDef.AsDateTime property

Member of TFPExprIdentifierDefpublicIn unit fpExprPars

Get identifier value as datetime

Declaration

pascal
property AsDateTime: TDateTime read GetAsDateTime write SetAsDateTime;

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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.