[TriLUG] changing Unix time to human time

Rob Huffstedtler rob at bagpipe.com
Mon Jun 21 11:12:43 EDT 2004


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
> -- 
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc



More information about the TriLUG mailing list