Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Finding the difference between two dates including milliseconds

by 1nickt (Canon)
on Jan 09, 2017 at 13:51 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2024-03-28 22:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found