Created
January 19, 2015 21:43
-
-
Save jmurowaniecki/e8cc3d39973fa46d92c9 to your computer and use it in GitHub Desktop.
Retorna quantidade de dias em dado mês
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function daysInMonth(month, year) { return new Date(year, month, 0).getDate(); } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment