Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get number of days in a month javascript

function getDaysInMonth(year, month) {
  return new Date(year, month, 0).getDate();
}
Source by bobbyhadz.com #
 
PREVIOUS NEXT
Tagged: #number #days #month #javascript
ADD COMMENT
Topic
Name
9+1 =