Page 2 of 2

Re: generate date

Posted: Fri May 05, 2017 11:36 am
by metrix
Import just the last date (April, August, December in every year) from my page frequency monthly to undated page.
1998m04
1998m08
1998m12
1999m04
...
2010m12.

Re: generate date

Posted: Fri May 05, 2017 11:43 am
by EViews Gareth
Your posts are always so badly worded.... You should sit down and think about what you're asking and how to explain it to someone who isn't a mind-reader.

I really have no idea what you're trying to do.

But I'm going to interpret this to mean that you want, in your undated page, a series containing three month intervals:

Code: Select all

smpl @first @first series months = @dateval("01/04/1998") smpl @first+1 @last weeks = @dateadd(months(-1), 3,"m")
Which is essentially the same code I gave in the first response, just changing it from weekly to monthly and from one week to 3 months.

Re: generate date

Posted: Fri May 05, 2017 1:24 pm
by metrix
Promised, in the future, I will ask questions well explained
Thank you for your advice :D , and thanks for your response too about code.
Best week-end.