title: php comparing timestamps within an hour +/-
body: <p>I have a conditional written that compares two timestamps and I need it to execute if the time difference between the control variable and the compared variable is within 1 hour plus or minus of the compared.</p>
  
  <p>it looks like this right now which is obviously only less than &amp; equal to:</p>
  
  <pre><code>if( ($departure - $item['time']) &lt;= 3600) ): 
  </code></pre>
  
  <p>would changing <code>&lt;=</code> to <code>&lt;=&gt;</code> work?</p>