skip to Main Content

Javascript – Creating an array of dates efficiently?

I have an availabilities collection. Inside this collection could be a few entries that are date based for example: { "_id": "64b03ed794d87927a3066e13", "startDateTime": "2023-07-07T18:00:00.000Z", "endDateTime": "2023-07-12T15:00:00.000Z", "availabilityType": "blackout" } { "_id": "64b03eb094d87927a3066ddb", "startDateTime": "2023-07-03T18:00:00.000Z", "endDateTime": "2023-07-06T15:00:00.000Z", "availabilityType": "blackout" } I…

VIEW QUESTION
Back To Top
Search