I need to create a filter in sql, but I don't know how exactly.
WHERE date < ?? /*I need it to be today until 10pm */ and
date >= getdate() /* I used getdate(), but I don't know if it's the best way, as I need it to get entries from 0am*/
I apologize if I didn't explain myself properly, but I'll try to explain better if I need to.
today until 10pm
entries from 0am
Final :