title: How to get the currentDate in Javascript for IE?
body: <p>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.</p>
  
  <p><code>Date.now()</code> or <code>Date.time()</code></p>
  
  <p>I also tried this if-statement:</p>
  
  <pre><code>if (!Date.now) {
      Date.now = function() { return new Date().getTime(); }
  }
  </code></pre>
  
  <p>But I always retrieve "nan", even in IE11.</p>
  
  <p>In Chrome and Firefox it works perfectly. So how do I get the currentTime in IE?</p>