Skip to content

day_of_month

Syntax

day_of_month()

Description

Returns an integer representing the day of the month in a simulation, with values ranging from 1 to 31.

Examples

The transition rule below sends agents to the Closed state if the current day is the 10th day of the month:

if (day_of_month() == 10) then next(Closed)

See Also