Created
August 9, 2013 13:36
-
-
Save tdm00/6193631 to your computer and use it in GitHub Desktop.
Do the following in Chrome Developer Tools Console
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
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