Hello @Dhanam1
You will have to pull this data and populate it in the confirmedBookings array.
In my previous reply, I added a sample code for 25th Jan and 10AM.
var confirmedBookings=[{
date:"01/25/2024",
time:"10:00 AM"
}];
Populate this array with the date and timings from the schema ...