This package has been deprecated

Author message:

has been rolled into simple-datejs

date-periodjs

0.1.2 • Public • Published

deprecated functionality has been rolled into simple-datejs

date-periodjs

calculates the dates between a start and end date with the given frequency of occurance

install

$ npm install date-periodjs

$ bower install simple-datejs

usage

valid frequencies

0 - one time
1 - daily
2 - weekly
3 - biweekly
4 - monthly

var dpc = require('date-periodjs');
 
var frequency = 1;
var start = new Date(2015, 6, 20);
var end = new Date(2015, 6, 25);
 
var dates = dpc.calculatePeriodDates(start, end, frequency);
 
console.log(dates);

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Published

Version History

  • Version
    Downloads (Last 7 Days)
    • Published

Package Sidebar

Install

npm i date-periodjs

Weekly Downloads

1

Version

0.1.2

License

MIT

Last publish

Collaborators

  • weagle08