Created
August 7, 2019 21:30
-
-
Save parzibyte/2ade890d2ebf645b6f2d0ab2c86e1a80 to your computer and use it in GitHub Desktop.
Saber la fecha de mañana en JavaScript - https://parzibyte.me/blog/2018/10/05/fecha-de-ayer-manana-javascript/
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 fechaDeManana = () => { | |
let hoy = new Date(); | |
let DIA_EN_MILISEGUNDOS = 24 * 60 * 60 * 1000; | |
let manana = new Date(hoy.getTime() + DIA_EN_MILISEGUNDOS); | |
return manana; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment