This format is International Standard (ISO format)
new Date("2017-01-01")
This guarantees same output across all browsers.
However, the other formats may change according to browser as they are not so well defined.
As you can see that this format
new Date("2017-1-1")
is parsed successfully in chrome, but gives error in IE 11