Assigning a date

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt

neilblake
Posts: 17
Joined: Tue Sep 30, 2008 4:19 am

Assigning a date

Postby neilblake » Wed Dec 18, 2019 9:48 am

does anyone know how to assign a date in EViews? I want to find out which month has the maximum value of a time series (within a given date range) and then save that date in some way for use later on

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

Re: Assigning a date

Postby EViews Gareth » Wed Dec 18, 2019 9:50 am

Dates are just numbers. Nearly all functions that return a date will return a number. You can convert that number into a string representation of the date with @datestr to make it human readable.
Follow us on Twitter @IHSEViews


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 47 guests