1.1.2 • Published 8 years ago

quarterrange v1.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

quarterrange

Get start and end date of quarters

Installation

$ npm install quarterrange
# or
$ bower install quarterrange

Usage

var quarter = require('quarterrange');

var firstQuarter = quarter(0);

console.log('From:', firstQuarter.from.toISOString());
console.log('To:', firstQuarter.to.toISOString());
/*
From:	2016-01-01T00:00:00.000Z
To:		2016-03-31T23:59:59.000Z
*/

Test

$ npm test

License

Copyright (c) 2016 Dominic Bartl, MIT License

1.1.2

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago