title: mongodb - query based on _id timestamp
body: <p>How do I write a mongodb shell query that will return the documents (or just document ids) for all objects created after a specific date?  I see examples like the following...</p>
  
  <p><a href="https://stackoverflow.com/questions/8835757/return-query-based-on-date">return query based on date</a></p>
  
  <p>But they just return the timestamp, I want to query based on a timestamp.  I don't think the logic is as easy as looking for objects higher than a specific objectid, because if mongodb is sharded, then there are multiple servers creating objects.</p>