HomeTime

Working with time

The key concept to understand about working with time in Causal - is Causal's time step index system.

This time step index allows you to modify variables in formulas, e.g. refer to the value of a variable in three months. See Time modifiers for more.

Causal also has a bunch of in-built helper variables (like date, month, year, today, lastActualDate etc) that make it easy to work with time. See our common formulas on Time Dependent formulas here.

Dates in Causal

The Date function in Causal converts an input in Date format to the appropriate timestep in that model to allow further calculations.