Chrome & Firefox Date function different. (new Date)

new Date

when I use the date function in chrome I get something like this

Thu Jul 16 2015 20:37:47 GMT-0700 (Pacific Daylight Time)

when I do the same function in firefox I get this


why are they different? I googled for a bit and search on stack but even the examples they were using to show their problem were comparing two dates of the same format. What I’d really like to know is why are they different now and how can I go about making them the chrome format cross as many browsers as possible?


Source: cross-browser

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.