Re: SQUID Log Unix time

2002-10-03 Thread Michael Kelly
On Thu, Oct 03, 2002 at 04:23:19PM +0200, Jasper Wammes wrote: > Hi there, Hi, > I am analizing a Squid proxy log file. The times is like this: > 1033638320.833 > Hoe can i convert that to a normal time? > > Thanks for your time. This should do it, to a certain extent: my $number_time = 10336

Re: SQUID Log Unix time

2002-10-03 Thread Jeff 'japhy' Pinyan
On Oct 3, Jasper Wammes said: >I am analizing a Squid proxy log file. The times is like this: >1033638320.833 >Hoe can i convert that to a normal time? Well, if you don't mind the non-integer portion, 1033638320 represents Thu Oct 3 05:45:20 2002. Use localtime(): my @parts = localtime 1033

Re: SQUID Log Unix time

2002-10-03 Thread Ramprasad A Padmanabhan
Jasper Wammes wrote: > Hi there, > > > I am analizing a Squid proxy log file. The times is like this: > 1033638320.833 > Hoe can i convert that to a normal time? > > Thanks for your time. > > > Greetings > > I think you can afford to ignore the fraction of the second So use @time_array

RE: SQUID Log Unix time

2002-10-03 Thread Bob Showalter
> -Original Message- > From: Jasper Wammes [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 03, 2002 10:23 AM > To: [EMAIL PROTECTED] > Subject: SQUID Log Unix time > > > Hi there, > > > I am analizing a Squid proxy log file. We really don'

SQUID Log Unix time

2002-10-03 Thread Jasper Wammes
Hi there, I am analizing a Squid proxy log file. The times is like this: 1033638320.833 Hoe can i convert that to a normal time? Thanks for your time. Greetings -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]