Retrieving file date

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

javiersan
Posts: 184
Joined: Mon Jan 19, 2009 8:18 am

Retrieving file date

Postby javiersan » Thu Jun 07, 2012 3:12 am

Hello,

Is it possible to retrieve the date a file was last saved (without opening it)? I believe this is not the case and it could be quite useful to have a function to that effect.

Regards,

Javier

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

Re: Retrieving file date

Postby EViews Gareth » Thu Jun 07, 2012 7:46 am

Something like:

Code: Select all

create u 10
shell(out=flist) dir c:\temp\test.prg /t
%time = flist(6,1)
Follow us on Twitter @IHSEViews

javiersan
Posts: 184
Joined: Mon Jan 19, 2009 8:18 am

Re: Retrieving file date

Postby javiersan » Thu Jun 07, 2012 8:18 am

Really clever, thanks.


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 15 guests