Show / Hide Table of Contents

CalMin


General System Function

The CalMin function returns a number representing the minute of the calendar date within a Simulation Options' Run Length. Since this function ties directly to the 24-hour clock displayed during simulation, CalMin returns values less than 60.

Syntax

CalMin()

Examples

If CalMin() = 25 Then
{
    Inc Var1
    Dec Var2
}

The following example displays the minute of the calendar date when an Entity enters the Truck Location.

Display CalMin()

CalMin Example 1


CalMin Example 2

Remarks

CalMin works only when you select Run Length Type: Calendar Date in Simulation Options.

In This Article
Back to top Generated by DocFX