title: PHP Compare a difference of timestamp and a real time
body: <p>I would like to compare a difference between two timestamps and a time in base 60 or 10.
  More precisely if timestamp1-timestamp2 is longer (or no) than x hours and y seconds.</p>
  
  <p>I'm using DateTime and DateInterval classes, but there isn't such a function, and i don't find a clean solution.</p>
  
  <p>Thanks</p>