Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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??


in reply to Re: displaying microseconds from epoch like format
in thread displaying microseconds from epoch like format

awesome,
changed and tweaked to work with my code:

($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.

again thank you!


Comment on Re^2: displaying microseconds from epoch like format
Select or Download Code

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 wandering the Monastery: (5)
As of 2014-09-20 13:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (159 votes), past polls