Dates and Times (1 Viewer)

kjbrack

Registered User.
Local time
Yesterday, 23:19
Joined
Mar 3, 2015
Messages
20
I am wanting to pull all records with the criteria for the Day field to show all records from yesterday at 7:00 am till today at 3:00 am.

Day field is a date/time format, Table name is Barrel Production .

Here is what I have tried with no luck:

Between date()-1, 07:00:00 and date ()+1, 03:00:00


:banghead::banghead::banghead::banghead:
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 11:19
Joined
May 7, 2009
Messages
19,246
Between ((date() -1)+#7:00 am#) And ((date() +1)+#3:00 am#)
 

kjbrack

Registered User.
Local time
Yesterday, 23:19
Joined
Mar 3, 2015
Messages
20
That worked, Thanks

:):):):)
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 11:19
Joined
May 7, 2009
Messages
19,246
Glad to hear that.
 

Users who are viewing this thread

Top Bottom