Created
March 10, 2020 05:38
-
-
Save parzibyte/d9188a26292db3d5ac91690e00ea1cc6 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
const fechaComoCadena = "2020-03-09 23:37:22"; // día lunes | |
const numeroDia = new Date(fechaComoCadena).getDay(); | |
console.log("Número de día de la semana: ", numeroDia); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment