Re: [squid-users] Access log file

From: Brian <hiryuu@dont-contact.us>
Date: Mon, 25 Jun 2001 18:11:28 -0400

On Monday 25 June 2001 06:03 pm, Rash Dar wrote:
> How can I know the time by looking at the access log
> file?
> I know that at specific time 00:49:20 GMT 2001 I
> requested a web site that log the number 993505753.074
> in access log file.
> How can I map these numbers in access log to readable
> time?

That is a Unix timestamp (the number of seconds since 1970), accurate to
milliseconds. You can convert it with something like
        perl -e 'print localtime 993505753.074'

That, however, returns Mon Jun 25 17:49:13 2001, which indicates your
server's hardware clock is set to PDT, rather than using GMT and an offset
(traditional for Unix systems).

        -- Brian
Received on Mon Jun 25 2001 - 16:11:28 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:50 MST