RunStartDate and RunEndDate

Description

RunStartDate and RunEndDate return the start or end date of the currently active controller, respectively.

Type

DATETIME

Arguments

Type

Meaning

Comments

When evaluated from a Rule, Goal, or Method set, these functions are equivalent to @"Start Timestep" or @"Finish Timestep". But, for Expression Series Slots, the symbolic datetime specifications @"Start Timestep" and @"Finish Timestep" refer to the expression slot’s evaluation range, not the controller’s start or end dates. Thus, RunStartDate() may not be equivalent to @"Start Timestep" and RunEndDate() may not be equivalent to @"Finish Timestep".

But, regardless of the set from which they are called, RunStartDate and RunEndDate functions provide a fixed references to the controller’s start and end dates, respectively.

 
RunStartDate()
 
@"January 1, 2003"