WHERE lastactivity > " . mktime(0,0,0,date("m"),date("d"),date("Y")) . "
WHERE lastactivity > " . (mktime(0,0,0,date("m"),date("d"),date("Y")) + (($bbuserinfo['timezoneoffset']-$timeoffset)*3600)) . "