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);

2nd Oct 2018, 6:01 PM
Y.Lechebo
Y.Lechebo - avatar
1 Resposta
0
You can coustom the date and time display. Var dateval = new Date(); Var monthval = ((dateval.getMonth())+1) ; console.log(monthval);
29th Jul 2020, 6:48 PM
Divya Mohan
Divya Mohan - avatar