Javascript and the Date() function
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/6913035/javascript-date-creation-cant-set-the-correct-month">javascript date creation, can&#39;t set the correct month</a>  </p>
</blockquote>



<p>I have script like:</p>

<pre><code>var year = 2011;
var month = 3;
var day = 1;

var start = new Date(year, month, day, 0,0,0,0);
</code></pre>

<p>When it comes time to use start I find that it ends up evaluating to April 4, 2011. Any ideas why the month gets bumped up by 1?</p>
