You could use the NOW()
function that returns the current date. To avoid skewed answered by hours/minutes/seconds, you can use date
to extract the date part:
$q = 'SELECT count(ID) as count FROM ORDER WHERE
ASSIGN_TO ='.$db->qstr($person).' AND DATE(OPEN_DATE) = DATE(NOW())';