Created
June 20, 2022 17:46
-
-
Save miguelmota/71a0e3a5eb5554acae2c15e343065e51 to your computer and use it in GitHub Desktop.
JavaScript ISO timestamp to unix timestamp seconds
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
Math.floor(new Date('Fri, 17 Jun 2022 12:28:34 -0700').getTime() / 1000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment