Created
February 12, 2021 23:37
-
-
Save engelcituk/20d5ebbf1f7b12c0bcfdb9bf3bfa72f9 to your computer and use it in GitHub Desktop.
Fecha a segundos con js
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 date = new Date("2015-08-25T15:35:58.000Z"); | |
const seconds = date.getTime() / 1000; //1440516958 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment