Hi Eviews fellows,
I was trying to calculate quarter difference between some quarter end dates and found something weird:
=@datediff(@dateval("2011-09-30"),@datefloor(@dateval("2011-06-30"),"Q"),"Q")
the result is 1;
=@datediff(@dateval("2011-06-30"),@datefloor(@dateval("2011-03-31"),"Q"),"Q")
the result is 0.
I thought the second one should return 1 as well?
Please help.
BC
@datediff between quarter end
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
Re: @datediff between quarter end
I am using EVIEWS 9.5
-
- EViews Developer
- Posts: 560
- Joined: Thu Apr 25, 2013 7:48 pm
Re: @datediff between quarter end
Hello,
Both of those expressions evaluate to 1 for me. Is your copy of EViews 9.5 up to date? Nov 1, 2018 is the most recent patch.
Both of those expressions evaluate to 1 for me. Is your copy of EViews 9.5 up to date? Nov 1, 2018 is the most recent patch.
Who is online
Users browsing this forum: Google [Bot] and 29 guests