(no subject)

From: Bernd P. Ziller <bziller@dont-contact.us>
Date: Fri, 15 May 1998 08:26:24 +0200 (METDST)

> From: "Andrew Specht" <andrew@iaccess.com.au>

> I was wondering if there is a script out there somewhere that converts the
> number in access.log (or store.log) to the date and time?

To convert the time in a access.log you could use the following:

perl -p -e 's/^(\d\.\d)/scalar(localtime($1))/e' access.log

Note that the miliseconds get lost this way!

Read the perl manual on localtime if you don't like the output of


   Bernd                  bziller@ba-stuttgart.de
  Perry Rhodan - Blind Guardian - Morwen   Pages
Received on Thu May 14 1998 - 23:30:06 MDT

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