How to calculate a persons age at a given date
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/9/how-do-i-calculate-someones-age-in-c">How do I calculate someone&#39;s age in C#?</a>  </p>
</blockquote>



<p>how do I calculate what a persons age will be on a given date?</p>

<p>I have the date of birth, and for what I am doing now, the date I want to calculate it for is the end of the year e.g. 31/12/2012 23:59:59.</p>

<p>How can I calculate from these variables how many years old a person will be at the end of the year?</p>

<p>Thanks.</p>
