Is there a method you know of to create date data that increases every 10 minutes and store it in an array?
let datesArray: Array<Date> = new Array();
let firstDate: Date = new Date('2019-05-03T06:00:00');
let secondDate: Date = new Date('2019-05-03T06:00:00');
let thirdDate: Date = new Date('2019-05-03T06:00:00');
firstDate.setMinutes(firstDate.getMinutes() + 10);
console.log(firstDate);
secondDate.setMinutes(secondDate.getMinutes() + 10);
console.log(secondDate);
thirdDate.setMinutes(secondDate.getMinutes() + 10);
console.log(thirdDate);
while(firstDate.getTime() <= 6){ // Starting from 6:00, looking for intervals of 10 minutes until (7:00). Is it possible to go up to 7:00?
firstDate.setMinutes(firstDate.getMinutes() + 10);
console.log(firstDate);
}