Created
April 19, 2018 22:34
-
-
Save parzibyte/23ce62597ea0980172bce3b80f14a12e to your computer and use it in GitHub Desktop.
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 diasDelMesYAñoActual() { | |
var fecha = new Date(); | |
return new Date(fecha.getFullYear(), fecha.getMonth() + 1, 0).getDate(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment