KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I've been using this function but I'd like to know what's the most efficient and accurate way to get it. function daysInMonth(iMonth, iYear) { return 32 - new Date(iYear, iMonth, 32).getDate(); }
Tags (comma-separated)
Save Edits
Cancel