Causal updates
Causal updates
causal.app

month_from_date and year_from_date functions

 

New

 

 

We introduced new functions that return the month or year of a date or timestep. Example usage:

Start Date = date(2020,12,24)

month_from_date(Start Date) = 12

year_from_date(today) = 2021