Javascript Date shows the wrong value when using alert
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/12254333/javascript-is-creating-date-wrong-month">javascript is creating date wrong month</a>  </p>
</blockquote>



<p>In my code, I create <code>Date</code> by this line:</p>

<pre><code>var date = new Date('2012', '01', '20')
</code></pre>

<p>and then using:</p>

<pre><code>alert(date);
</code></pre>

<p>I get the result:</p>

<p><img src="http://i.stack.imgur.com/JKZKi.png" alt="enter image description here"> </p>

<p>I don't really understand why not Jan instead of Feb?</p>

<p>jsFiddle: <a href="http://jsfiddle.net/U5m8N/" rel="nofollow">http://jsfiddle.net/U5m8N/</a></p>
