title: JS date() returning incorrect date
body: <p>I'm am trying to format a date in Javascript but the date command is returning the wrong date unless I use <code>toUTCString()</code> which returns the correct date, I've tried different ways of giving the date to the <code>Date()</code> function and both <code>get</code> and <code>getUTC</code> functions to get the date. I've also tried on different browsers (Chrome, Safari, FireFox) and what makes in even more confusing is if I do it in Chrome's inspector is works perfectly. And I missing something obvious?</p>
  
  <pre><code>var d = new Date(1324141200000);
  
  // return "Sat, 17 Dec 2011 17:00:00 GMT" - Correct!
  alert(d.toUTCString());
  // returns "6-11-2011" - Wrong! 
  alert(d.getUTCDay() +'-'+ d.getUTCMonth() +'-'+ d.getUTCFullYear()); 
  </code></pre>