Hi,
Im using EViews 8.
There seems to be a bug in the date format, or @DateAdd-function:
The code @DateAdd(@DateVal(@Date), -1, "MM") returns NA when
@Date = "07/31/14", i.e. when @DateVal(@Date) = 735444
Remarks:
1) The same problem holds for quarterly frequency, but not for yearly or daily frequencies
2) The problem seems to only hold when subtracting 1 period (1 month or 1 quarter), i.e. the code @DateAdd(@DateVal(@Date), -2, "MM") returns a number
Regards
Martin
Bug in @DateAdd-function or date format
Moderators: EViews Gareth, EViews Moderator
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13598
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Bug in @DateAdd-function or date format
Not a bug.
June 31st doesn't exist.
June 31st doesn't exist.
Re: Bug in @DateAdd-function or date format
Cheers!
Regards
Martin
Regards
Martin
Who is online
Users browsing this forum: No registered users and 2 guests
