JavaScript Date Formats Across Browsers

Using a big endian format for JavaScript’s Date constructor may seem like a good idea, until you realise that it’s better to specify it with a month name:

Chrome

Safari

Firefox

The big endian format only works in Google Chrome. While Chrome and Safari share the same browser engine, WebKit, they use different JavaScript engines — V8 and Nitro, respectively.

Leave a Reply