title: add hour-minute to datetime
body: <p>can anyone help me in a problem that i am stuck in for long hours, i am trying to add time like in format <code>h:ia</code> with hour and minute in format <code>01:00</code>(one hour), <code>00:30</code>(30 minutes), <code>02:00</code>(two hour) etc.. in php.</p>
  
  <p>As i have hours in format like<code>('00:30','01:00','01:30','02:00')</code>to the the time i already have.
  i tried this</p>
  
  <p><code>$interval="01:00";</code></p>
  
  <p><code>$now=new DateTime('h:ia');</code></p>
  
  <p><code>$time=($now,strtotime(+$interval,$now));</code></p>
  
  <p>but its not working.
   Any help will be appreciated. </p>