I have an array of dates array can be very large around 10,000 objects like as
[{"date":"2019-01-23T11:01:50.719Z","lat":28.591072559026497,"lng":77.32183123723946},{"date":"2019-01-23T11:01:58.313Z","lat":28.591143596331815,"lng":77.32190503671627},{"date":"2019-01-23T11:04:13.272Z","lat":28.59104724711076,"lng":77.32189079414962},{"date":"2019-01-23T11:07:21.256Z","lat":28.591160550128887,"lng":77.32204036332226}]
I am trying to filter above Large Array by Date between start and end date. Since one date has many date with time. Like as
22/01/19 11:00, 22/01/19 12:00,22/01/19 1:00,22/01/19 2:00........... 24/01/19 1:00, 24/01/19 2:00,24/01/19 3:00 .......... 25/01/19 1:00
Suppose my start date is 22/01/19 and End date is 24/01/19. So array will be start from 22/01/19 2:00 (highest time) to 24/01/19 3:00. I am trying to create the logic but unable to do it. Kindly help me please.