Answers for "find max days of month js"

0

find max days of month js

var month = 0; // January
var d = new Date(2008, month + 1, 0);
console.log(d.toString()); // last day in January
Posted by: Guest on July-17-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language