1.0.2 • Published 4 years ago

hour_diff v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Installing

Usage

To run this plugin, install it locally using npm:

<script src="node_modules/hourdiff/hourdiff.js"></script> 
  <script>
     options = {};
    options.starthour = 10;
    options.startmin = 00;
    options.endhour = 10;
    options.endmin = 16;
    options.startsec = 1;
    options.endsec = 0;
    console.log(hour_diff(options));
   // =>{hours: 0, minutes: 15, seconds: 59}
  </script>