tsbetween
v1.0.1
Published
Convert start and end time from ISO 8601 to UNIX timestamps
Downloads
3
Readme
tsbetween
Convert start and end time from ISO 8601 to UNIX timestamps.
Install
$ npm install --save tsbetween
Usage
'use strict';
let tsbetween = require('tsbetween');
let between = tsBetween('2016-01-13T14:33:37+00:0', '2016-01-14T14:33:37+00:0');
console.log(between.startTimestamp);
//=> 1452695617000
console.log(between.endTimestamp);
//=> 1452782017000
License
MIT © John-Lin