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

2015-07-17T03:29:03.110Z

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?

Thanks


Source: cross-browser

Leave a Reply