DateTime diff
Small library that tells the difference between two dates in seconds, minutes, hours and days
Installation
$ npm install datetime-diff
Usage
var diff = ;
Examples
var diff = ;var date1 = 2016 10 1;var date2 = 2016 10 2;var result = ; // => { "seconds" : 86400, "minutes" : 1440, "hours" : 24, "days" : 1}console; // => 1
Tests
$ npm test