Report question

Question: JPA query for day ignoring the time