Simple question, but I couldn\'t find any related topics that match this exact scenario. Everything I found involved MySQL or date and time rather than just time.
I
Drop the first strtotime; the variable is already in timestamp form:
strtotime
if ($ratesTimeStamp <= strtotime('-2 hours')) { echo "OLDER"; } else { echo "not older"; }
$testedTime = 1325960262; $currentTime = time(); if($currentTime - $testedTime > 7200){ /// Older than 2 hours }