title: Javascript date 01/01/0001
body: <p>I want to create a Date object in javascript, which represents the year 0001, 2014 years ago.</p>
  
  <p>I tried with </p>
  
  <pre><code>d = new Date(); d.setYear(1);
  console.log(d);
  </code></pre>
  
  <p>but it gives the year 1901</p>
  
  <p>with </p>
  
  <pre><code>d = new Date(1,1,1)
  console.log(d);
  </code></pre>
  
  <p>no way.</p>
  
  <p>How can I create this date?</p>