Sorry, forgot what forum I was In!
In SQL Server you could try
WHERE DATEPART(d, incoming date) = target date day and DATEPART(m, incoming date) = target date month and DATEPART(yyyy, incoming date) = target date year and DATEPART(hh, incoming date) between 6 and 10 ...
hour hh
minute mi, n...