I already did some reasearch and found out that you need to format a date String because the IE can't handle some formats. But the problem is that I don't even get a current date string to format.
Date.now()
or Date.time()
I also tried this if-statement:
if (!Date.now) {
Date.now = function() { return new Date().getTime(); }
}
But I always retrieve "nan", even in IE11.
In Chrome and Firefox it works perfectly. So how do I get the currentTime in IE?