CalMonth
General System Function
The CalMonth function returns a number representing the month of the year within a Simulation Options' Run Length. This function returns values between 1 and 12.
Syntax
CalMonth()
Examples
If CalMonth() = 10 Then
{
Inc Var1
Dec Var2
}
The following example displays the month of the calendar year when an Entity enters the Truck Location.
Display CalMonth()
Remarks
CalMonth works only when you select Run Length Type: Calendar Date in Simulation Options.