title: Subtract hours and minutes from time
body: <p>In my task what I need to do is to subtract some hours and minutes like (<code>0:20</code>,<code>1:10</code>...any value) from time (<code>2:34 PM</code>) and on the output side I need to display the time after subtraction.
  time and <code>hh:mm</code> value are hardcoded</p>
  <p>Ex:</p>
  <pre class="lang-none prettyprint-override"><code>my_time = 1:05 AM
  
  duration = 0:50
  </code></pre>
  <p>so output should be <code>12:15 PM</code></p>
  <p>Output should be exact and in AM/PM Format and Applicable for all values
  (<code>0:00 &lt; Duration &gt; 6:00</code>) .</p>
  <p>I don't care about seconds, I only need the hours and minutes.</p>