Especifique as partes do tempo explicitamente: WHERE datepaid BETWEEN '2010-04-01 00:00:00' AND '2010-04-15 23:59:59'