On Wed, Feb 02, 2005 at 09:17:43AM -0500, Paul Keating wrote:
> On the same token....I'm trying to decipher some infor from some squid
> proxy logs which are logged in epoch, and I need to convert them nack to
> standard local time.
>
> I can find many ways to convert standard to epoch, using perl or
> whatever, but can't seem to be able to find out how to convert epoch to
> local time.
[ewilts@pe400 ~]$ date -d '11/11/2004 00:10' +%s
1100153400
[ewilts@pe400 ~]$ date -d '1970-01-01 1100153400 seconds'
Thu Nov 11 06:10:00 CST 2004
--
Ed Wilts, Mounds View, MN, USA
mailto:ewilts AT ewilts DOT org
|