I am trying to change my date format
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);
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 ..
NOTE : This problem is only in mozilla and opera ,in internet explorer its working fine !
Any idea
Thanks