title: Comparing dates with Query Builder
body: <p>I am trying to add a parameter <code>addWhere</code> in my <code>Query Builder</code> that will make it retrieve a date similar to today's date (matching the month and day). My dates stored in <code>Database</code> looks like <code>1895-04-14 00:00:00</code>, so if today is <code>14-04</code> regardless the year it will give me this record. Here's what I've got so far.</p>
  
  <pre><code>-&gt;select('r')
  -&gt;where('r.status = :status')
  -&gt;setParameter(':status', 1)
  -&gt;andWhere('r.dateOfDeath = :now')
  -&gt;setParameter('now',\date("m-d", time()))
  -&gt;getQuery();
   return $qb-&gt;getArrayResult();
  </code></pre>
  
  <p>How can I get all the entries from the database matching today's day and month?</p>