0
check this code and give sln....has this any solution month is 0 - 11
//Sat Jun 11 1988 11:42:00 var d3 = new Date(88,5,11,11,42,0,0);
1 Answer
0
You can coustom the date and time display.
Var dateval = new Date();
Var monthval = ((dateval.getMonth())+1) ;
console.log(monthval);