IE Date.parse method returns NaN for Date with Time string

Posted by Senthil Elayappan on Stack Overflow See other posts from Stack Overflow or by Senthil Elayappan
Published on 2010-06-15T15:09:40Z Indexed on 2010/06/15 15:12 UTC
Read the original article Hit count: 415

Filed under:

Hi, We are trying parse the date with timestamp string, it blows up in IE but works fine FireFox.

Here are the code

alert(new Date(Date.parse("2010-01-31T12:00:00.233467-05:00")));

Any idea to make it work in IE browser? Thanks in advance.

© Stack Overflow or respective owner

Related posts about JavaScript