Rererence to system variables
For reference to system variables, use the GetVariableValue
method of the Report object:
DateTime date = (DateTime)Report.GetVariableValue("Date");
A list of system variables can be seen in the "Data" window. From it, you can drag a variable into a script, during this FastReport automatically creates a code for referring to the variable.