title: PHP or MySQL Date Format for Day of Week
body: <p>I have a column that stores a 1-digit value for Day of Week:</p>
  
  <pre><code>0 = Sunday
  1 = Monday
  ...
  6 = Saturday
  </code></pre>
  
  <p>I tried PHP <code>date('l', $row['dow'])</code> and MySQL <code>DATE_FORMAT(dow, '%w')</code> but neither return the Day of Week word.</p>
  
  <p>Is it possible in PHP or MySQL to do this or do I just need to create an array() var?</p>