Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: displaying microseconds from epoch like format

by r0adawg (Sexton)
on Oct 09, 2012 at 18:01 UTC ( #998047=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ($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
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://998047]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2014-10-31 10:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (216 votes), past polls