title: How to get list of users who's birthday is today in MongoDB
body: <p>I am having the list of documents with date of birth in mongo collection.  We are having the front end where user can add the complex conditions on the data to get the result like</p>
  
  <pre><code>(user.dob isToday AND user.score &gt; 1000) OR (user.dob isTomorrow AND user.score &gt; 2000)
  </code></pre>
  
  <p>Other than date type, I am able to convert the above conditions to corresponding mongo query like <code>{"score" : { $gt: 1000}}</code>. </p>
  
  <p>In case of birthday condition, we have to query the DB with day of the month and month of the year which is supported in mongo only by using aggregate which will not help for my above use case.</p>
  
  <p>Anyone have suggestions? Ideas?</p>