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]

st: Epoch time (aka Unix time) in Stata


From   Michael Costello <[email protected]>
To   statalist <[email protected]>
Subject   st: Epoch time (aka Unix time) in Stata
Date   Wed, 3 Oct 2012 00:01:45 -0400

I have quite a bit of date information that is stored in epoch time
(aka Unix time).  I need to convert it to something readable.  I found
this post (http://www.stata.com/statalist/archive/2002-09/msg00518.html)
 in the archives, but the code doesn't seem to run (perhaps because of
differences in Stata since 2002).  Does anyone know an easy method, or
has anyone written a function to do these conversions?

-Michael
--
Michael Costello

"To call in the statistician after the experiment is done may be no more
than asking him to perform a post-mortem examination: he may be able to say
what the experiment died of."  -Sir Ronald Aylmer Fisher, FRS
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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