in reply to Re: displaying microseconds from epoch like format
in thread displaying microseconds from epoch like format
($c_epoch, $frac) = $ep_time =~ /(\d+)\.(\d+)/; #courtesy of perlmonks $c_epoch += $time; # converts to local time from internal date -> $FD $str = localtime $c_epoch) =~ s/(.*:\d+)/$1.$frac/; #courtesy of perlm +onks
produces : Thu Jun 10 07:12:02.729004 2010
I needed the finer resolution for processing.
|
|---|