Hi i have searched all over the place and cannot able to get this things done
I want to delete outdated(upto yesterday) objects from array
My array looks like this
[{"apdate": "09-12-2020", "booked": "14:30"},
{"apdate": "11-12-2020", "booked": "19:30"},
{"apdate": "10-12-2020", "booked": "19:00"},
{"apdate": "17-12-2020", "booked": "14:30"},
{"apdate": "17-12-2020", "booked": "15:30"},
{"apdate": "17-12-2020", "booked": "19:00", "phone": "9898989898"},
{"apdate": "10-01-2021", "booked": "16:00"},
{"apdate": "29-01-2021", "booked": "18:30"},
{"apdate": "01-02-2021", "booked": "14:00", "name": "Anand", "uuid": "cPA7ND7U2jdw7qY6nHf4kWuxyx53"},
{"apdate": "01-02-2021", "booked": "10:00", "name": "Anand", "uuid": "cPA7ND7U2jdw7qY6nHf4kWuxyx53"},
{"apdate": "01-02-2021", "booked": "03:30", "name": "Anand", "uuid": "cPA7ND7U2jdw7qY6nHf4kWuxyx53"}]
Please guide me