Filter Query based on Date and Time

kobiashi

Registered User.
Local time
Today, 22:02
Joined
May 11, 2018
Messages
258
hi

im trying to create a criteria to filter a query based 02:00 yesterday and 02:00 today


i have tried

Code:
[DateField]+[TimeField] as expr1

between Date()-1 & #02:00:00# and Date() & #02:00:00#


but its not filtering, please can someone point in the right direction please
 
between Date()-1 + #02:00:00 AM# and Date() + #02:00:00 AM#
 

Users who are viewing this thread

Back
Top Bottom