Hi again
I am using:
%history_end_date="2017.09"
%forecast_start_date="2017.10"
%forecast_end_date="2019.12"
To start and label workfiles. I need to be able to get the number of months between %forecast_start_date and %forecast_end_date
I don't think datediff can work due to them being characters. Is there a way around this? Again I need number of months between them, in this case it is 27
thanks
Calculating Forecast Length via Dates
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13318
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Calculating Forecast Length via Dates
A combination of @datediff and @dateval
Follow us on Twitter @IHSEViews
Who is online
Users browsing this forum: No registered users and 46 guests