Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1000998]
help
Chatterbox?
[oiskuu]: Very, very smooth btw. Now the talk is about "Your mothers pussy", and freezer implies "hungry for meat"
[Your Mother]: :P
[ambrus]: YourMother: my brother told me their cat wants to climb into the dishwasher if they leave the door open. Not when the dishwasher is started, but after it's done washing, because it's still warm and cats like warm.

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2017-12-18 15:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (491 votes). Check out past polls.

    Notices?