Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

All Records Up to a certain time

Status
Not open for further replies.

keeno

MIS
Feb 24, 2006
33
GB
Hello

I am trying to create a formula which will return me any records with a (Reported Date) up to 08:00am on the previous day.

Can someone help me write this formula

Many Thanks

David

 
Is this related to your question in thread767-1209320? Try:

{table.datetime} < datetime(currentdate-1,time(8,0,0)))

-LB
 
Sorry, that should have been: thread767-1208320, and in that thread the formula could have been simplified to

{table.datetime} in datetime(currentdate-1,time(8,0,0))) to
datetime(currentdate,time(7,59,59))

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top