title: MongoDB: find records for last X days (in strict JSON)
body: <p>Finding records for last X days only can be done in <strong>mongo Shell Mode</strong> with</p>
  
  <pre><code>db.some_collection.find({"some_date":{$gte: (newDate((newDate()).getTime() - (X * 24 * 60 * 60 * 1000)))}})
  </code></pre>
  
  <p>My question: is there a <strong>strict JSON</strong> equivalent to this command or not?</p>