title: How to subtract time slot in jquery?
body: <p>I try this code</p>
  
  <pre><code>start_time = '08:15 AM'
  end_time = '03:45 PM'
  diff = end_time - start_time;
  </code></pre>
  
  <p>only i want to subtract time in jquery. I have tried same in php as follow and it is running properly. 
  but not in jquery </p>
  
  <pre><code>$st = strtotime("07:30 AM");
  $edt = strtotime("06:15 AM");
  echo round(abs($st - $edt) / 60,2). " minute";
  echo "&lt;br&gt;";
  
  echo $timediff=($edt-$st)/60;
  </code></pre>