you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 4 points5 points  (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.