Skip to content

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

License

Notifications You must be signed in to change notification settings

weagle08/date-periodjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published