title: Filter by date using an idObject
body: <p>Hí, this mongoDB query, filter documents by date using an idObject field.</p>
  
  <pre><code>db.myCollection.find({_id:{$gt: ObjectId(Math.floor((new Date('1990/10/10'))/1000).toString(16) + "000
  0000000000000"), $lt: ObjectId(Math.floor((new Date('2011/10/10'))/1000).toString(16) + "000
  0000000000000")}})
  </code></pre>
  
  <p>How would you implement this using the C# driver? There's already any method to convert a date to idObject?</p>
  
  <p>Reference post: <a href="https://stackoverflow.com/a/13594408/2010764">https://stackoverflow.com/a/13594408/2010764</a></p>