Skip to main content

VTL - Time operators

NameSymbolTime_periodComponentDataset
Period indicatorperiod_indicator✔️✔️✔️
Fill time seriesfill_time_seriesN/AN/A❌
Flow to stockflow_to_stockN/AN/A✔️
Stock to flowstock_to_flowN/AN/A✔️
Time shifttimeshift✔️✔️✔️
Time aggregationtime_aggN/AN/A❌
Actual timecurrent_date✔️N/AN/A
Subtract datesdatediff❌❌❌
Add to datedateadd❌❌❌
Year of a dateyear❌❌❌
Month of a datemonth❌❌❌
Number of day within the yeardayofyear❌❌❌
Number of day within the monthdayofmonth❌❌❌
Convert days to yearsdaytoyear❌❌❌
Convert days to monthsdaytomonth❌❌❌
Convert duration in daysyeartoday❌❌❌
Convert duration in monthsyeartomonth❌❌❌