Re: Time format in log files

From: Arjan de Vet <Arjan.deVet@dont-contact.us>
Date: Wed, 19 Aug 1998 22:47:32 +0200 (CEST)

In article <35DA211D.4BA695B3@hem.passagen.se> you write:

>A oneliner to tranlate it to plain text in local timezone is:
>
>perl -e 'print scalar localtime 903459502, " + 172 msec\n';
>
>(replace localtime by gmtime if UTC (GMT) times is wanted)

Some date(1) commands (at least the BSD4.4 derived ones) support the -r
option:

> date -r 903459502
Tue Aug 18 18:58:22 CEST 1998

> date -u -r 903459502
Tue Aug 18 16:58:22 GMT 1998

Arjan
Received on Wed Aug 19 1998 - 14:15:22 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:41:39 MST