Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

days in the current month

function daysInThisMonth() {
	var now = new Date();
    return new Date(now.getFullYear(), now.getMonth()+1, 0).getDate();
}
Source by ambavaneasavari.medium.com #
 
PREVIOUS NEXT
Tagged: #days #current #month
ADD COMMENT
Topic
Name
3+4 =