A collection of Date and time related tools.
Install with npm:
$ npm install --save seiko
const seiko = require('seiko');
const date1 = new Date('07/16/1998.12:00:01');
const date2 = new Date('07/16/1998.12:00:00');
const delta = seiko.dateDelta(date1, date2, { timeFormat: 'milliseconds' });
console.log(delta); //=> 1000
const seiko = require('seiko');
console.log(seiko.convertTime(1000, 'seconds')); //=> 1