Skip to content

Instantly share code, notes, and snippets.

@epicserve
Last active December 28, 2015 00:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save epicserve/7416882 to your computer and use it in GitHub Desktop.
Save epicserve/7416882 to your computer and use it in GitHub Desktop.
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