Can postgresql change the condition of the query day to in one day?

gets a date, such as" 2018-08-01", and
normal query statement is between somedate > "2018-08-01 00 between somedate 00" and somedate <" 2018-08-01 23 between somedate 59"

can you change it to somedate in ("2018-08-01.) this mode?
what do I do with "2018-08-01"?

you can query multiple cross-time data at a time if you can.
somedate is of type timestamp.

Apr.02,2021

where somedate::date in ('2017-12-01', '2017-11-01')

timestamp needs to transfer to date, date and in directly

Menu