Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Calculate clock ticks since a given date

by ikegami (Pope)
on Oct 26, 2012 at 05:56 UTC ( #1000998=note: print w/replies, xml ) Need Help??

in reply to Calculate clock ticks since a given date

>perl -E"use bignum; use Time::HiRes qw( time ); say( (10000000 * time +) + 621355968000000000 );" 634868277695085200

Replies are listed 'Best First'.
Re^2: Calculate clock ticks since a given date
by kurgan (Sexton) on Oct 26, 2012 at 06:34 UTC

    This worked great! Thank you.

    Unfortunately, this being done on and old Win32 box, it seems I am not going to get the full 18 digit number no matter what I do.

    I had completely blocked out Time::Hires. Again, thank you!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1000998]
and !@monks...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (11)
As of 2017-11-21 15:49 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (304 votes). Check out past polls.