Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Epoch time (aka Unix time) in Stata

From   Michael Costello <>
To   statalist <>
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 (
 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 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:

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