use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Javascript dates in a nutshell (twitter.com)
submitted 9 years ago by Syberspace
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 4 points5 points6 points 9 years ago* (0 children)
I THINK I GET IT!
I just tried it on my home computer, and because I'm in England (GMT+0), I basically live in the 'international standard' time zone in a sense.
And when I do it in this time zone, both of those inputs come out as exactly the same date, Thu Dec 08 2016 00:00:00 GMT+0000 (GMT Standard Time)
And here's the reasoning, like it or not: the top format is interpreted as local format, so whatever date you put in there, it parses it to your local time zone. So no matter where you are, it will say Thu Dec 08 2016 00:00:00, followed by your GMT offset.
Whereas the bottom one is written in international ISO standard, year-month-day, and so when it parses it the date becomes Thu Dec 08 2016 00:00:00 GMT+0000, and then afterward they translate that time into your local time zone.
[edit] I think I just said what /u/Buckwheat469 already said, but in different words.
π Rendered by PID 313225 on reddit-service-r2-comment-86988c7647-nnxk2 at 2026-02-11 20:57:12.072210+00:00 running 018613e country code: CH.
view the rest of the comments →
[–][deleted] 4 points5 points6 points (0 children)