Date Range - JQuery get each date within a range

I have utilized other controls that allowed me to extract each date out of a date range. Is that possible with the date range picker control?

Example:
I select 10-9-2020 through 10-12-2020.
I would like a comma separated string with each day (10-9-2020, 10-10-2020, 10-11-2020,10-12-2020)

Possible?
Thank You.

Hi there :wave:

Currently the range component will hold only the start and end values of the selected date range, but knowing these values of the range it is possible to calculate the other days. The onSet method will be a good place for this, because it is triggered every time when a range value is set on the component. Here is an example:

onSet: (ev, inst) => {
    var values = inst.getVal();
    var start = values[0];
    var end = values[1];
    var fullRange = [];
    var fullRangeFormated = [];
    for (var i = start; i <= end; i.setDate(i.getDate() + 1)) {
        fullRange.push(i);
        fullRangeFormated.push(
            mobiscroll.util.datetime.formatDate(inst.settings.dateFormat, i)
        )
    }
    console.log(fullRange);
    console.log(fullRangeFormated);
}

The fullRange contains the date objects and fullRangeFormated contains the formatted values.