if($this->db->jdate($obj->eatby)!=$eatby&&$this->db->jdate($obj->eatby)!=$eatbywithouthour)// We test date without hours and with hours for backward compatibility
{
// If found and eatby/sellby defined into table and provided and differs, return error
if($this->db->jdate($obj->sellby)!=$sellby&&$this->db->jdate($obj->sellby)!=$sellbywithouthour)// We test date without hours and with hours for backward compatibility
{
// If found and eatby/sellby defined into table and provided and differs, return error