Specificare esplicitamente le parti temporali: WHERE datepaid BETWEEN '2010-04-01 00:00:00' AND '2010-04-15 23:59:59'