Converting Unix time stamp to a date format.

George Toft plug-discuss@lists.plug.phoenix.az.us
Thu, 16 Jan 2003 08:14:20 -0500


Eric Andresen wrote:
> 
> If by unix timestamp you mean the plethora digits in a single number, it
> is simply a counting of seconds from Jan 1st 1979 00:00
> 
> On Wed, 2003-01-15 at 19:48, Carl Parrish wrote:
> > Does anyone know where I can find the formula for converting a timestamp
> > to a date format? I can't use any of the functions I typically would. I
> > get the timestamp in an xml format. So far I can't find a xslt formula
> > but I can hack one up in mozilla if I can figure out how.
> >
> --
> --Eric Andresen
>   ndiin@asu.edu
> 
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


I believe that's 1970, not 1979.  See
http://www.tuxedo.org/~esr/jargon/html/entry/epoch.html (note the slight
at the end by ESR).

George