[TriLUG] changing Unix time to human time

Dan trilug at daijin.nulluser.com
Mon Jun 21 11:36:43 EDT 2004


--On Monday, June 21, 2004 10:12:43 AM -0500 Rob Huffstedtler 
<rob at bagpipe.com> wrote:

> perl -e 'print scalar localtime("1086628571.242")'
>
> On Mon, Jun 21, 2004 at 10:54:27AM -0400, Dan wrote:
>> My squid proxy logs its time stamps using what I think is the Unix time
>> stamp like:
>>
>> 1086628571.242
>>
>> any quick and dirty way to convert this to a human time stamp from the
>> command line?
>>
>>
>> --
>> Dan

pretty... thanks!


-- 
Dan



More information about the TriLUG mailing list