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