title: php strtotime in seconds and minutes
body: <p>i use ths method to find the difference between two timestamp and get the number of seconds between those two times, and i refresh the information with jquery like a counter.</p>
  
  <pre><code>$diff = strtotime(date('Y-m-d H:i:s')) - strtotime('2014-06-25 14:50:03');
  $time = intval(date('s', $diff));
  echo $time;
  </code></pre>
  
  <p>When the difference is more than 60 seconds, the $time comes back to 0, like a reset.</p>
  
  <p>i would like to display 1 min XX s for example</p>