Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2018-06-25 13:36 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.