Defining Logic > Functions > Calendar Functions > CalDOM

CalDOM

Note: the CalDOM function is available only in the Professional edition of Process Simulator.

The CalDOM() function corresponds to the calendar day of the month you defined as part of the warm-up period or simulation begin date under simulation properties. Values returned by this function will be integers in the range of 1 to 31, inclusively. The function can be used in any logic. The function name must be followed by the pair of parentheses.

 

The following is an example using the function:

If CalDOM()=15 Then

{

     <logic statements>

}


© 2016 ProModel Corporation • 556 East Technology Avenue • Orem, UT 84097 • Support: 888-776-6633 • www.promodel.com