tsbetween

1.0.1 • Public • Published

tsbetween

Build Status

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

Readme

Keywords

Package Sidebar

Install

npm i tsbetween

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • linton