title: Change timestamp PHP format to Dutch
body: <p>I'm busy with a date notation in Dutch but I can't get this fixed.
  The data is retrieved from the database (change data timestamp).</p>
  
  <pre><code>&lt;td &gt;
   &lt;span style="font-size:10px"&gt;&lt;br/&gt;
     Gegevens bijgewerkt op: &lt;?php setlocale(LC_ALL, 'nl_NL'); 
      echo date_with_weekday($item-&gt;stamp);?&gt;
   &lt;/span&gt;
  &lt;/td&gt;
  </code></pre>
  
  <p>I've set the locale to Dutch and the database table stamp <code>($item-&gt;stamp)</code> is also retrieved. However, January should be januari. February to februari, etc, etc).</p>
  
  <p>How can I set this?</p>
  
  <p>Here is the code from the PHP file:</p>
  
  <pre><code>&lt;?php
      function seprator_heading($heading){
          return '&lt;tr&gt;&lt;td colspan="2" class="seprator_head"&gt;'.$heading.'&lt;/td&gt;&lt;/tr&gt;';
  }
  
  function date_formate($dt){
      return ($dt!='')?date('d/m/Y',strtotime($dt)):'';
  }
  function age($dt){
      if($dt!='' &amp;&amp; $dt!='0000-00-00 00:00:00'){
          $birthdt=date('d-m-Y',strtotime($dt));
          list($d,$m,$y)=split('-',$birthdt);
          $age=(date("md", date("U", mktime(0, 0, 0, $m, $d, $y))) &gt; date("md") ? ((date("Y")-$y)-1):(date("Y")-$y));
          return $age;
      }else{
          return '';
      }
  }
  function date_with_weekday($dt){
      $date=($dt!='' &amp;&amp; $dt!='0000-00-00 00:00:00')?date('l, d F Y G:i',strtotime($dt)):'';
      if($date!=''){
          list($day,$dtime)=split(',',$date);
          return dutch_weekdays($day).' '.$dtime;
      }else{
          return ' - ';
      }
  }
  function dutch_weekdays($d){
      if(!empty($d)){
          switch(strtolower($d)){
          case 'monday':
              return 'maandag';
              break;
          case 'tuesday':
              return 'dinsdag';
              break;
          case 'wednesday':
              return 'woensdag';
              break;
          case 'thursday':
              return 'donderdag';
              break;
          case 'friday':
              return 'vrijdag';
              break;
          case 'saturday':
              return 'zaterdag';
              break;
          case 'sunday':
              return 'zondag';
              break;
          }
      }else{
          return '';
      }
  }
  ?&gt;
  </code></pre>
  
  <p>Br,</p>
  
  <p>Steve</p>