title: How to add an hour onto the time of this datetime string?
body: <p>Here's an example of the datetime strings I am working with:</p>
  
  <pre><code>Tue May 15 10:14:30 +0000 2012
  </code></pre>
  
  <p>Here is my attempt to add an hour onto it:</p>
  
  <pre><code>$time = 'Tue May 15 10:14:30 +0000 2012';
  $dt = new DateTime($time);
  $dt-&gt;add(new DateInterval('P1h'));
  </code></pre>
  
  <p>But the second line gives the error that it couldn't be converted.</p>
  
  <p>Thanks.</p>