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

Determining if a time falls inbetween two time values

Status
Not open for further replies.

CTOROCK

Programmer
May 14, 2002
289
US
My calculations need to discount the time taken for breaks and lunch. All breaks and lunches are taken at the same time so I wanted to say if 10:00 fell inbetween the start time and end time, then discount 15 minutes from the total. I did something like this:

if #10:00# > dtstart & < dtend then...

but that is not the correct format. How can I do this

Thanks! &quot;The greatest risk, is not taking one.&quot;
 
Sorry, am using Access 2000.

Thank You &quot;The greatest risk, is not taking one.&quot;
 
I was afraid of that. It's easy in Excel, others will be able to help you in Access.
Rob
[flowerface]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top