title: How to store mongoose value as a date?
body: <p>Everytime I save a date in Mongoose it ends up as a string.</p>
  
  <pre><code>    let newDate = new Date().toISOString();
  
      let thing = await Thing.findOne({});
  
      things.details.expirationDate = newDate;
  
      await thing.save();
  </code></pre>
  
  <p>I can confirm that in the database it is recognized as a string and not a date object.</p>
  
  <p>How do I save this value on a date object? <code>thing.details</code> is a mixed schema type.</p>