title: php - add two hours to date variable
body: <p>I want to add 3 minutes to a date/time variable I have, but I'm not sure how to do this.
  I made the variable from a string like this: <em>(which is in the RFC 2822 date format btw)</em></p>
  
  <pre><code>$date = 2011-10-18T19:56:00+0200
  </code></pre>
  
  <p>I converted that string into date using this command:</p>
  
  <pre><code>$time = date_format(DateTime::createFromFormat("Y-m-d\TH:i:sO", $date), "G:i")
  </code></pre>
  
  <p>Now, I'd like to add 3 minutes to that variable, but I I'm not sure how.
  I've used the following command in my script before, but that applies to the current date/time, so I'm not sure how to use that for my time variable:</p>
  
  <pre><code>$currenttime = date('G:i', strtotime('+2 hours'));
  </code></pre>
  
  <p>So, how can I add three minutes to the $time variable?</p>