Created
February 1, 2018 15:11
-
-
Save ConnectedReasoning/6a55cd537ad0e91a4bddf27f343b7acd to your computer and use it in GitHub Desktop.
current timestamp moment to integer
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_as_int = new Date(moment().toISOString()).getTime(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment