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