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

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3fb73-2c498.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3fb73-2c498.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?