title: How to get weekday from timestamp in ActionScript 3
body: <p>How can I get the week day for <code>20110828</code> (28th of August 2011)?
  I've tried this, but it didn't work:</p>
  
  <pre><code>var date:Date=new Date(2011,8,28);
  //Also tried var date:Date=new Date(20110828);
  trace(date.day);//0 - Sunday, 1 - Monday etc
  </code></pre>
  
  <p>Thank you.</p>