diffhours
v0.1.5
Published
The number of hours existing between two hours
Downloads
28
Maintainers
Readme
diffhours
Difference between two hours
This package is very simple, it determine the existing number of hours between two hours. it's waiting two parameters(string) : startTime and endTime
Installation
yarn add diffhours
ou
npm install diffhours --saveHow can i use it
very simple
const diffhours = require('diffhours');
console.log(diffhours('10:40', '01:10')) // 14H30