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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Querying Date/Time over 24hrs 3

Status
Not open for further replies.

hurricane

Technical User
Dec 1, 2000
6
US
Dear Forum,

I trying to create a query where I can filter any entries inputted between 05.59.59 yesterday and 06.00.00 today. This query must be able to work everyday without intervention.

I would really appreciate some help here before I loose my hair, marriage and job.

Thanks

H.
 
Well are you keeping track of the date too????

Also you might want to store the absolute value of a date and time in a special field and use it to compare rather than...

Look at "DateDiff" , "TimeSerial" and "DateSerial" functions in Help
Note: you can add and subtract with these too.

DougP, MCP
dposton@universal1.com

Ask me how Bar-codes can help you be more productive.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top