Disable today and future date in Datepicker

Disable today and future date in Datepicker

Hi ,

<script>
$( ".dateOfPurchased" ).datepicker({
    maxDate: new Date, 
minDate: new Date(2007, 6, 12)
    });
</script>

I used above code to disable future dates.

My requirement is To disable today date and future date in date picker

I am using above JQuery to disable future date but not today date 

could any one cane help me in this