Add equality test between date/time and date value