Especifique las partes de tiempo explícitamente: WHERE datepaid BETWEEN '2010-04-01 00:00:00' AND '2010-04-15 23:59:59'