find out the previous year date from current date in javascript
<p>I need to find out the previous year date from current date and then set as minDate in jqury UIdatepicker in javascript</p>

<p>My date formaqt is <code>dd-mm-yy</code> </p>

<p>Ie </p>

<p>current date is <code>25-07-2012</code>
i need to get <code>25-07-2011</code></p>
