time format

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

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

basil
Posts: 37
Joined: Thu Apr 28, 2011 11:48 am

time format

Postby basil » Mon Jul 25, 2011 8:54 am

hi,

Why does the following create an error: "series sday1=(second=09:30:00)" -> "09:30:00 is not defined"
and the following also creates an error: "series sday1=(second="09:30:00")" -> "Numeric operator applied to string data"

thx for the help

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

Re: time format

Postby EViews Gareth » Mon Jul 25, 2011 9:05 am

What is "second"? A series in your workfile?

basil
Posts: 37
Joined: Thu Apr 28, 2011 11:48 am

Re: time format

Postby basil » Mon Jul 25, 2011 10:04 am

it is a series in file that includes intraday seconds: 09:30:00 09:30:01...

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

Re: time format

Postby EViews Gareth » Mon Jul 25, 2011 10:16 am

Try:

Code: Select all

series sday1=(second=@dateval("09:30:00"))

basil
Posts: 37
Joined: Thu Apr 28, 2011 11:48 am

Re: time format

Postby basil » Mon Jul 25, 2011 10:23 am

thx


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests