title: how do I export a datetime field in string format with mongo export?
body: <p>I'm trying to export an entire collection from mongo with mongoexport. Most answers I've found around this, regarding dates, involve a query. I'm not doing a query. I'm dumping the entire table, to JSON format. The datetime fields are exporting like so:</p>
  
  <pre><code>"dateOfBirth": {
    "$date": "1999-02-02T00:00:00.000Z"
  }
  </code></pre>
  
  <p>I only want the string representation of the datetime field, so it looks like:</p>
  
  <pre><code>"dateOfBirth": "1999-02-02T00:00:00.000Z"
  </code></pre>
  
  <p>I don't know our exact version of mongo, but it's pretty recent.</p>
  
  <p>How do I do this?</p>