```
check deal_time field value in phpmyadmin is less than or greater than current datetime stamp.
deal_time value stored in database in format('y/m/d h:m:s') 2012-12-17 11:05:28;

```

condition -> 

```
  $WhereBy = $this->db->dbprefix("product").".`Active` = 'Y' and ".$this->db->dbprefix("product"). ".`Deal_Time` <= NOW()"   ;

```

but it return wrong result . Please tell what the problem . Thanks in Advance.