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 = localtime(1033638320);
see perldoc -f localtime for using this array
If you are bothered about the fractional part too ( :-D )
then do a perldoc -f Time::HiRes to use that
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]