Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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


Comment on Re: Calculate clock ticks since a given date
Download Code
Re^2: Calculate clock ticks since a given date
by kurgan (Novice) 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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2014-12-29 15:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (192 votes), past polls