title: convert age to current date
body: <p>Is there any PHP function to convert current age to date in <code>YYYY-MM-DD</code> format. I stored the DOB in <code>YYYY-MM-DD</code> format and I want to run the SQLite query:</p>
  
  <pre class="lang-sql prettyprint-override"><code>SELECT FirstName FROM mytable WHERE DOB &gt;= $MinAge AND DOB &lt;= '$MaxAge';
  </code></pre>
  
  <p>I searched google to convert age to date format but could not find any function, is there anyone who can help?</p>