Update Query For String to Date in an Array

Hello , I need query for converting statusDate into Date in an history array.

image

This question is already answered in your other post Updating Data Type From String to Date - #3 by steevej.

If you still have an issue, share what your tried and explain how it fails to deliver the appropriate result.

And before posting, please read Formatting code and log snippets in posts so that your documents and code is formatted correctly.

The query is changed status object as array we need status as object in history array and statusDate as Date in status object .we need some changes in query .