title: get the difference in time between two given time
body: <p>I'm trying to get the difference in time between two given times e.g. first time '17:00:01' and then second time '17:47:25' and here's what I tried so far,</p>
  
  <pre><code>$start_time = "17:00:01";
  $end_time = "17:47:25";
  
  echo $start_time-&gt;diff($end_time);
  </code></pre>
  
  <p>But seem's unfortunately not working, any help, ideas please?</p>
  
  <p>My expected output must be like, if no difference in hours but there's difference in minutes and seconds then, "22 mins and 15 secs", If no difference in minutes but have difference in hours then, "2 hrs and 10 secs" but if only seconds in difference then, "22 secs".</p>