Skip to content

Instantly share code, notes, and snippets.

@tdm00
Created August 9, 2013 13:36
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 tdm00/6193631 to your computer and use it in GitHub Desktop.
Save tdm00/6193631 to your computer and use it in GitHub Desktop.
Do the following in Chrome Developer Tools Console
datetime="2013-07-31T05:05Z"
var d = new Date(datetime);
d
/* returns Wed Jul 31 2013 01:05:00 GMT-0400 (EDT) */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment