Calculating age in Javascript with YYYY-mm-dd format : <p>I have birthday in following format: </p>

<pre><code>1982-09-20
</code></pre>

<p>I need to get the exact age of the person from that birthdate ( compared with the current date). </p>

<p>What's the easiest way to do this in JS? Can someone help me out please?</p>

<p>Thanks!</p>
