Date in Internet Explorer
I am having some issues with a date string in IE. Works perfect in Fire Fox and Chrome, but when I try it in Internet Explorer, I do get an "Invalid Date" error.
This is my code:
if (data[index].start_time){
start=data[index].start_time;
d = new Date(start);
alert(d + " // " + d.toDateString());
}
And this is the result in FireFox:
Any idea what's wrong?