title: JavaScript: get array of day names of given date (month/year)
body: <p>how can i get the whole month in day namesof given month/year?
  like :</p>
  
  <pre><code>var year = "2000";
  var month = "7"
  
  ... some code here that makes an array with names of days of the given month...
  </code></pre>
  
  <p>and the output looks something like:</p>
  
  <pre><code>Array ("1. Sunday", "2. Monday", "3. Tuesday", ... "29. Thursday", "30. Friday", "31. Saturday");
  </code></pre>
  
  <p>Best regards,
  Chris</p>