>I want to write a little perl script to pull some customised info out of my
>squid logs, but I don't know how to convert the unix raw date to a
>human-readable format.  Can anyone help me out?

Aren't there some pointers to squid log analysers at the home page?
Anyway something like

        $s = localtime(942567899);      # use number from log
        print "$s\n";

will do the job, or use gmtime instead of localtime.
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to