Find calendar dates in js

Hello! I'd like to find something like an array for the dates of a calendar component, the way we get to visualize whats rendering in a view with an object that contains the info. I-m using the list form of a calendar.

When we show a calendar in a view, the records it shows are the same as if we are listing a table, so to access the dates of the records we will simply do so as when we access the data in a table.

$(document).on('knack-records-render.view_XXX', function(event, view, records) {
var user = Knack.getUserToken();
var headers = {
"Authorization": user,
'X-Knack-Application-ID': Knack.application_id,
'X-Knack-REST-API-Key': 'knack',
'content-type': 'application/json'
};

// HERE You can build your array to store all rendered date fields or read other events info.

console.log (records);

});