Date.getUTCDay returns the wrong day
<p>I'm having a problem with the Date object in JavaScript. I've tested it in Firefox and IE.</p>

<p>The following code shows the problem:</p>

<pre><code>alert(new Date(Date.UTC(2011,6,5,1,0,0,0)).getUTCDay().toString());
</code></pre>

<p>I'm expecting 0 since 5 June 2011 is Sunday, but it returns 2 thinking it is Tuesday. Do you know why?</p>
