European/American dates
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
European/American dates
I am importing data into a workfile and want the program to switch to an American date format for import and switch back to European afterwards. I can do this manually using options/general options/date representation. Was just wondering if there is some code I can use to automate this process?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13600
- Joined: Tue Sep 16, 2008 5:38 pm
European/American dates
There isn't a command to do it, no. However you can probably read in the dates correctly without needing to change that option.
Re: European/American dates
Just to clarify I am fetching directly from a Haver database that is using the American format for its daily data. Because I am working in the european format I am getting the illegal date error.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13600
- Joined: Tue Sep 16, 2008 5:38 pm
Re: European/American dates
Fetching from a Haver database shouldn't rely on your date option at all. Haver stores dates as YYYYMMDD, as far as we know, and EViews will translate that into whatever option you have.
Could you provide more precise details on exactly what you're doing (including the name of the Haver database etc...)?
Could you provide more precise details on exactly what you're doing (including the name of the Haver database etc...)?
Who is online
Users browsing this forum: No registered users and 0 guests
