I would like to turn a Series containing dates in the format yyyy-mm-dd(as an example "2023-05-05") into a series of Years-Quarters in the format yyyyQq (as an example "2023Q2"). How can I do this?
I tried different things, but with no success.
convert Date series into Series indicating Year/Quarter
Moderators: EViews Gareth, EViews Jason, EViews Steve, EViews Moderator
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13330
- Joined: Tue Sep 16, 2008 5:38 pm
Re: convert Date series into Series indicating Year/Quarter
Alpha mydate = @datestr(dateseries, “YYYY[Q]q”)
Follow us on Twitter @IHSEViews
Who is online
Users browsing this forum: No registered users and 3 guests