Comparing and checking PHP Date()
<p>I'm trying to figure out how to compare against <code>date()</code>. I'm following along in a tutorial about how to use this function to compare the current time against the time a cache file was last modified. In the tutorial, the author uses <strong>"10800"</strong> as 3 hours and the code looks something like:</p>

<blockquote>
  <p>(filemtime($cache) &lt; (time()-10800))</p>
</blockquote>

<p>I have no problem understanding how this comparison works but I just don't get how the the expression of time, <strong>"10800"</strong>, is formatted.</p>

<p>Just for the record I spent a solid 15 minutes looking for an answer so I'm not just being ignorant of Google haha.</p>

<p>Thanks!</p>
