Add a datetime variable to the collection
Source position: fpexprpars.pp line 595
public function TFPExprIdentifierDefs.AddDateTimeVariable( |
const AName: ShortString; |
AValue: TDateTime |
AName |
|
The name of the datetime variable |
AValue |
|
The datetime value of the variable |
Returns the added datetime variable identifier
The AddDateTimeVariable method creates and adds a new date/time variable identifier to the collection with the specified name and datetime value. The variable can then be referenced in expressions to retrieve the date/time value.