Answers for "days in the current month"

0

days in the current month

function daysInThisMonth() {
	var now = new Date();
    return new Date(now.getFullYear(), now.getMonth()+1, 0).getDate();
}
Posted by: Guest on May-27-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language