IE JavaScript date parsing error
Posted
by Nazaf
on Stack Overflow
See other posts from Stack Overflow
or by Nazaf
Published on 2010-06-11T05:58:06Z
Indexed on
2010/06/11
6:02 UTC
Read the original article
Hit count: 196
Hi, Why cannot IE parse this string as a Date object.
var d = Date.parse("Fri Jun 11 04:55:12 +0000 2010"); // returns NaN
However, it works well in FireFox. I am running IE 8.
Thanks.
© Stack Overflow or respective owner