Created
July 19, 2020 14:39
-
-
Save NickFoden/09c9e96f8b0738e42152ff0e2a2f0eed to your computer and use it in GitHub Desktop.
Date scratch pad
This file contains hidden or 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 aDate = "07/15/20" | |
const aDateAsDateObj = new Date(aDate) | |
console.log(aDateAsDateObj.getTime()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment