Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^2: displaying microseconds from epoch like format

by r0adawg (Beadle)
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

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!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://998047]
[choroba]: Ignoring the Reaper doesn't ensure he ignores you back
[choroba]: In Soviet Russia...
LanX is immortal! (so far ...)
Discipulus nevers ignores who is here since ever
[Eily]: IIRC 3% of all humans in history never ever died
[NodeReaper]: this is emotional, what did I do to deserve this?
[Discipulus]: Eily this percentage get higher everyday i suppose
Discipulus sometimes i'm here alone with you, bony brother

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (10)
As of 2018-03-19 10:49 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (239 votes). Check out past polls.