Bookmark and Share

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]

Re: st: RE: RE: how to use timestamp of a file (that one is insheeting)


From   László Sándor <[email protected]>
To   [email protected]
Subject   Re: st: RE: RE: how to use timestamp of a file (that one is insheeting)
Date   Tue, 21 Sep 2010 17:32:48 -0400

This is great, thank you!

Indeed, I wanted to have the time stamp in a local, for later
reference (in formulae). Sorry for not being clear at the first time.

Thank you very much,

Laszlo

On Tue, Sep 21, 2010 at 3:35 PM, Martin Weiss <[email protected]> wrote:
>
> <>
>
> As in http://www.stata.com/statalist/archive/2005-04/msg00087.html
>
>
>
> HTH
> Martin
>
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Martin Weiss
> Sent: Dienstag, 21. September 2010 21:33
> To: [email protected]
> Subject: st: RE: how to use timestamp of a file (that one is insheeting)
>
>
> <>
>
> *************
> 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/
>
>
> *
> *   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index