title: How to convert from string to date data type?
body: <p><img src="https://i.stack.imgur.com/LhP08.png" alt="enter image description here"></p>
  
  <p>I am uploading data from a csv file to MongoDB. It is taking <code>OrderDate</code> as string data type due to which facing problems while creating reports using a BI tool.
  I have about 10000 records in my collection.</p>
  
  <p>Could anyone help me how can I change the data Type of <code>OrderDate</code> to Date with a single query?</p>