How to get all the dates between dates in fullCalendar plugin. for example, I selected start date as 29-03-2017 and my end date is 31-03-2017. I need all the dates in between this start date and end date, and then I want to push into an array. this is my sample code for fullcalendar.
$("#calendar").fullCalendar({
selectable: true,
select: function(start, end, date, jsEvent, view) {
$('#sDate').text(moment(start).format('DD-MM-YYYY'));
$('#eDate').text(moment(end).format('DD-MM-YYYY'));
}
});