Java Script: New Date Format is not working for Nov and December
<p>I am trying to change my date format </p>

<pre><code>                var d = new Date();
                var curr_year = d.getFullYear();
                var curr_Month = d.getMonth() +1;
                var curr_date = d.getDate();
                var todayDate =  var tDate =   ( curr_Month +"/"+curr_date +"/"+ curr_year);
</code></pre>

<p>This is working perfectly fine ,But for the month November it shows 10,instead of 11 and for the month of December it shows 11 instead of 12 ...for the rest of months it all fine ..</p>

<p>NOTE : This problem is only in mozilla and opera ,in internet explorer its working fine !</p>

<p>Any idea </p>

<p>Thanks </p>
