date
Returns integer of current day in fred simulation.
Synopsis
date
Description
Same as today
. Returns an integer value equal to 10000*year + 100*month + day_of_month to allow comparisons between dates.
Examples
If the current date in the model is Jan 1st 2021, then the agent will go to the Close
state with the following transition rule:
if (date == 20210101) then next (Close)