@strdate

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Jason, EViews Steve, EViews Moderator

tvonbrasch
Posts: 540
Joined: Fri Apr 15, 2011 5:35 am

@strdate

Postby tvonbrasch » Sat Mar 16, 2019 11:53 pm

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

EViews Matt
EViews Developer
Posts: 562
Joined: Thu Apr 25, 2013 7:48 pm

Re: @strdate

Postby EViews Matt » Sun Mar 17, 2019 11:09 am

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")

tvonbrasch
Posts: 540
Joined: Fri Apr 15, 2011 5:35 am

Re: @strdate

Postby tvonbrasch » Mon Mar 18, 2019 9:06 am

it does not work either....
T
Skjermbilde.PNG
Skjermbilde.PNG (68.54 KiB) Viewed 4114 times

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13312
Joined: Tue Sep 16, 2008 5:38 pm

Re: @strdate

Postby EViews Gareth » Mon Mar 18, 2019 9:17 am

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...?
Follow us on Twitter @IHSEViews

tvonbrasch
Posts: 540
Joined: Fri Apr 15, 2011 5:35 am

Re: @strdate

Postby tvonbrasch » Mon Mar 18, 2019 9:54 am

it is official, i am an idiot.....

:-)


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 16 guests