/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function daysInMonth(_year, _month) { return new Date(_year, _month, 0).getDate(); }