Show / Hide Table of Contents

CalDOM


General System Function

The CalDOM function returns a number representing the day of the month within a Simulation Options' Run Length. This function returns values between 1 and 31.

Syntax

CalDOM()

Examples

If CalDOM() = 15 Then
{
    Inc Var1
    Dec Var2
}

The following example displays the day of the calendar month when an Entity enters the Truck Location.

Display CalDOM()

CalDOM Example 1


CalDOM Example 2

Remarks

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

In This Article
Back to top Generated by DocFX