title: Set weekday to german in PHP
body: <p>I've go these simple MySQL Query:</p>
  
  <pre><code>$sql-&gt;setQuery("SELECT * FROM $db_table");
  
  for ($i = 0; $i &lt; $sql-&gt;getRows(); $i++) {
      $id   = $sql-&gt;getValue("id");
      $date = $sql-&gt;getValue("date");
  
      setlocale(LC_TIME, 'de_DE');
  
      $date =  date('l, d.m.Y');
  
      echo $date;
  
      $sql-&gt;next();
  }
  </code></pre>
  
  <p>The Output is: <strong>Wednesday, 22.12.2016</strong>.</p>
  
  <p>Is there a way to get the weekday in german? I'm still using <code>setlocale(LC_TIME, 'de_DE');</code>?!</p>