Re: Squid's log
> I got this number: 959159565.669 from the first column of Squid's log
> (/var/log/squid/access.log). I believe that it's the date and time of the
> client access expressed in Unix time. What is the simplest way to convert
> it to a readable format? Perl function perhaps?
>
possibly not the simplest, but it works:
date -d "1 jan 1970 cet 959159565 sec"
^^^
this is for my timezone
--
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
If Windows is the answer, I want the problems back!
Reply to:
- References:
- Squid's log
- From: Oki DZ <litbang@haltek.telkom.net.id>