Use localtime from Perl:

@local_date_time = split(/ +/,scalar(localtime($timestamp)))


On Mon, 17 Apr 2000, Ronneil Camara wrote:

> I need help. Can someone help me on how I can compute the timestamp saved in
> /var/log/squid/access.log and provide an output which is human readable (ex.
> date or time). We really need it coz someone anonymously emailed us. The
> request from the webbased email could come from internally.
> 
> Please see example below:
> 
> 955224325.864   3403 192.168.2.52 TCP_MISS/200 3557 GET
> http://lc4.law5.hotmail.passport.com/cgi-bin/logout? -
> DIRECT/lc4.law5.hotmail.passport.com text/html
> 
> Btw, I don't need sqmgrlog answer. Thank you. :-)
> 
> 


-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to