title: Getting day of date in filemtime with strftime
body: <p>at the end of my webpage I want to display the date of the used xml-file. I do it with this code:</p>
  
  <pre><code>  &lt;?php
  
            $html = "";
  
            $filename = '../XML-Daten/Wein.xml';
  
            $Speicherdatum = date('j. n. Y', filemtime($filename));
  
            setlocale(LC_TIME, "de_DE");
  
            $wochentag = strftime("%A",  $Speicherdatum);
  
            $jahr = date('Y');
  
            $html .="&lt;div id='ca'&gt;&amp;copy; Company  1990 - $jahr&lt;br /&gt;
            Aktualisiert: $wochentag, den $Speicherdatum&lt;/div&gt;";
  
            echo $html;
  </code></pre>
  
  <p>?></p>
  
  <p>Now I get the right date ($Speicherdatum) but the day is always "thursday". Where is my error?? </p>