Created
March 6, 2019 20:46
-
-
Save molavec/10e58bdfec8f8141ac7c2b98f96ecb31 to your computer and use it in GitHub Desktop.
[Javascript - Date] Formas de obtener fechas #javascript #date
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
//Generar fecha | |
var date = new Date(); | |
var today = date.getDate() + '-' + (date.getMonth()+1) + '-' + date.getFullYear(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment