$start = date("U", mktime($h,$m,$s,$m,$d,$y));
$end = date("U", mktime($h,$m,$s,$m,$d,$y));
select * from table where intdate > $start and indate < $end;
I think that will work. If you are uning mysql, there is a unix_timestamp function you could probably use.