/ Published in: JavaScript
Expand |
Embed | Plain Text
function daysInMonth(_year, _month) { return new Date(_year, _month, 0).getDate(); }
You need to login to post a comment.
function daysInMonth(_year, _month) { return new Date(_year, _month, 0).getDate(); }
You need to login to post a comment.