title: How to find the difference between two UNIX timestamps in minutes PHP
body: <p>I am trying to find the difference between the two UNIX timestamps in minutes in php. </p>
  
  <p>I wrote such a code:</p>
  
  <pre><code>$current_time = 1474719107000;
  $start_time = 1474716600000;
  $difference = $current_time - $start_time;
  echo $difference/60;
  </code></pre>
  
  <p>The difference should be almost 40 mins. But I am getting a value of 41783.333333333. Not sure what's my mistake. </p>
  
  <p>Need some guidance on this.</p>