title: DateTime::createFromFormat is not working as I want
body: <p>I have a date in this format: Wednesday, 21 May, 2014.</p>
  
  <p>To save this date in database I´m trying to convert it to datetime, like this:</p>
  
  <pre><code>$f['date'] = $_POST['date'];
  $date = DateTime::createFromFormat('l, j F, Y', $f['date']); 
  $date = $data-&gt;format('Y-m-d H:i:s'); 
  </code></pre>
  
  <p>Then I´ll insert $date in my database, and works fine, date is saved like datetime in database.</p>
  
  <p>But now I want to show date, so I want to transform it again, in this format: "Wednesday, 21 May, 2014".</p>
  
  <p>For this, Im doing my select and then I use again DateTime::createFormat to convert date, from datetime to my "text format":</p>
  
  <pre><code>$readNews = $pdo-&gt;prepare("SELECT * FROM news");
  $readNews-&gt;execute();
  while ($readNewsResult  = $readNews-&gt;fetch(PDO::FETCH_ASSOC))
  {
     $date = DateTime::createFromFormat('l, j F, Y', $readNewsResult['date']);
     ..... //here I have more echos showing title of the news, etc
     echo '&lt;span class="date"&gt;'.$date.'&lt;/span&gt;';
  }
  </code></pre>
  
  <p>The problem Im having is that date it isn´t appearing...</p>
  
  <p>Do you see what Im doing wrong here?</p>