Page 1 of 1

convert Date series into Series indicating Year/Quarter

Posted: Fri May 05, 2023 1:58 am
by centroid
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.

Re: convert Date series into Series indicating Year/Quarter

Posted: Fri May 05, 2023 5:02 am
by EViews Gareth
Alpha mydate = @datestr(dateseries, “YYYY[Q]q”)