day_of_year¶
Syntax¶
Description¶
Returns an integer representing the day of the year in the simulation, with Jan-01 having the value 1 and Dec-31 having the value 365 in non-leap years and 366 in leap years.
Examples¶
The transition statement below sends agents to the Closed state if the current simulation day is January 1st: