Last active
December 28, 2015 00:59
-
-
Save epicserve/7416882 to your computer and use it in GitHub Desktop.
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
console.log(new Date("Nov 11, 2013")); | |
console.log(new Date(2013, 11, 11)); | |
// $ node js-date-test.js | |
// Mon Nov 11 2013 00:00:00 GMT-0800 (PST) | |
// Wed Dec 11 2013 00:00:00 GMT-0800 (PST) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment