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

Date and time average

Status
Not open for further replies.

NetworkGuy101

IS-IT--Management
Aug 13, 2002
482
US
I have 4 fields in a db. startdate, starttime, enddate, endtime. I want to be able to pull average time from startdate and starttime to enddate and endtime

Im not sure the best way to do this. I could do a loop or something but I was hoping one of you gents may have some experience. Help is appreciated.

Thanks
 
I think you can learn a lot from this thread: thread232-805252

Having the datetimes in two fields each may present a problem.. but I think you can work with it.

If you can't or don't get a good answer.. I can think of a good code-side solution or two.. but like you said... that's just looping.

ALFII.com
---------------------
If this post answered or helped to answer your question, please reply with such so that forum members with a similar question will know to use this advice.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top