Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Finding the difference between two dates including milliseconds

by 1nickt (Canon)
on Jan 09, 2017 at 13:51 UTC ( #1179214=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict; use warnings; use feature 'say';
    use DateTime::Format::Strptime;
    ...
    2017-01-09 05:17:03.182747, 2017-01-09 05:17:02.929309
    2017-01-09 05:18:46.561289, 2017-01-09 05:18:46.305743
    2017-01-09 05:19:09.772227, 2017-01-09 05:19:09.518975
    
  2. or download this
    perl 1179200.pl
    2017-01-09 05:08:04.575804
    ...
    2017-01-09 05:19:09.772227
    2017-01-09 05:19:09.518975
    Differs by 253.252 ms
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2022-11-29 21:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?