I have a this kind of variant of this same issue.

We manage pipe networks. Pipes have install date - or actually typically there is stored Year and Month and never the actual Day. When we store that to ArcGIS Online Water Distribution network we calculate install date. Depending how that calculation goes there is a risk that we get some time for that event too. I can easily delete time by setting each date in midnight with function
Date(Year($feature.installdate),Month($feature.installdate),Day($feature.installdate),0,0,0,0,0)
The problem is that this Arcade function in ArcGIS Pro against ArcGIS Online is fairly slow and I would like to choose only features that are not in midnight. So how to choose features that has in time certain time to focus calculation only in neccessary features. I have thousands of features and maybe hundreds of them have this issue.
Actual time of the day is not really needed in this kind of pipe installations at all - year and month (and maybe day) is definetly accurately enough.
This one chooses the data for one day but I am looking any date where time is for example that 11pm
installdate = timestamp '2011-07-01 23:00:00.000'