Answers for "daysinmonth javascript"

1

daysinmonth javascript

var dt = new Date();
 var month = dt.getMonth();
 var year = dt.getFullYear();
daysInMonth = new Date(year, month, 0).getDate();
Posted by: Guest on August-20-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language