Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: RE: how to use timestamp of a file (that one is insheeting)
From
"Martin Weiss" <[email protected]>
To
<[email protected]>
Subject
st: RE: how to use timestamp of a file (that one is insheeting)
Date
Tue, 21 Sep 2010 21:32:53 +0200
<>
*************
capture which dirlist
if _rc ssc install dirlist
clear*
set obs 10
gen myvar=_n
save myfile, replace
dirlist myfile.dta
ret li
*************
HTH
Martin
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of László Sándor
Sent: Dienstag, 21. September 2010 21:24
To: [email protected]
Subject: st: how to use timestamp of a file (that one is insheeting)
Hi,
I would like to use the date and time a file was created in some
analysis. The operating system knows that time, of course. However, I
found no Stata command that would fetch that data for me, nor a way I
could use the command line to get that (though I know I can invoke
that with -shell-).
The file would be the same that an -insheet- command imports in my
code, in case this helps anything.
Thank you very much,
Laszlo
László Sándor
PhD candidate
Department of Economics
Harvard University
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/