[Solved] JavaScript : How to calculate days count from two dates based on month
In the spirit of teaching, see comments: var stopDate = new Date(“2014-09-04”); // One day AFTER the last date we care // about var results = []; // An array for our results, initially // empty var date = new Date(“2014-08-28”); // Our starting date var entry; // The “current” month’s entry in the loop … Read more