I am trying to create a new date object from string as follows:
var myDate= new Date("1985-01-01T00:00:00.000-06:00");
On FireFox, it alerts the following
Tue Jan 01 1985 00:00:00 GMT-0600 (Central Standard Time)
On IE8, it alerts the following
NaN
Why IE is acting up this way?