I have a start date object and an end date object in javascript e.g.
var startDate = moment("2019-04-22T09:20:00+05:00");
var endtDate = moment("2019-04-25T11:00:00+05:00");
now I want to have an output like this
[880,1440,660] //array for the numbers of minutes for each day present in the given range
I have tried something using moment range module but still in vain
Thanks for the help in advance