Page 1 of 1

@strdate

Posted: Sat Mar 16, 2019 11:53 pm
by tvonbrasch
Hi

I want to create a string with a date format corresponding to each element in workfile.

The @strdate command works fine on a quarterly page, but I cannot make it work on a weekly or monthly page....?

That is

Code: Select all

pageselect q alpha date=@strdate("DD.MM.YYYY")
works, but

Code: Select all

pageselect m alpha date=@strdate("DD.MM.YYYY")
or

Code: Select all

pageselect w alpha date=@strdate("DD.MM.YYYY")
does not work....

How can I create a string with a date format corresponding to each element in workfile on a weekly or monthly workpage?
Thomas

Re: @strdate

Posted: Sun Mar 17, 2019 11:09 am
by EViews Matt
Hello,

Curious, I don't experience a problem with @strdate on a weekly or monthly workfile. Does the following produce the same issue?

Code: Select all

alpha date = @datestr(@date, "DD.MM.YYYY")

Re: @strdate

Posted: Mon Mar 18, 2019 9:06 am
by tvonbrasch
it does not work either....
T
Skjermbilde.PNG
Skjermbilde.PNG (68.54 KiB) Viewed 5075 times

Re: @strdate

Posted: Mon Mar 18, 2019 9:17 am
by EViews Gareth
Silly question, but you currently have the sample set to 2010 onwards. If you scroll down on the date series, are the dates available from 2010 onwards...?

Re: @strdate

Posted: Mon Mar 18, 2019 9:54 am
by tvonbrasch
it is official, i am an idiot.....

:-)