Page 1 of 1

Date in Internet Explorer

Posted: Wed Jan 21, 2015 10:04 pm
by Bernie

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:

Image

Any idea what's wrong?


Date in Internet Explorer

Posted: Wed Jan 21, 2015 10:08 pm
by Evgene Karachevtsev

Hello Bernie,

Unfortunately we don't support IE:
http://devcenter.appery.io/documentat...


Date in Internet Explorer

Posted: Wed Jan 21, 2015 10:09 pm
by Bernie

And this solves the problem:

http://biostall.com/javascript-new-da...


Date in Internet Explorer

Posted: Wed Jan 21, 2015 10:24 pm
by Bernie

I do get IE as not supported. But I think this is also an issue on Safari!


Date in Internet Explorer

Posted: Thu Jan 22, 2015 4:55 am
by Yurii Orishchuk

Hi Bernie,

Glad it works,

Thanks for this update.

Regards.