MS Access Question

How do I calculate total minutes on query? Screenshot1.jpg
I don't know how to set format
Screenshot1.jpgnot sure if it is hour or minutes
Hiroyuki TamuraField EngineerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Gustav BrockCIOCommented:
It is neither, it is days. So multiply with 24 * 60 to get minutes.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
The DateTime field is intended to show a point in time so using that data type for elapsed time can be very confusing.  The list you are showing is actually parts of a day.  The integer part of the double would be the number of days since 12/30/1899 and the decimal part is the number of milliseconds (maybe) since midnight.  So - .53 would be just after noon - about halfway through the day

Using Gus' method, you would sum and then multiply.  However, you could use the Format() function to extract minutes and then sum the minutes.  Gus' method would be more accurate because you would only be losing the fraction of the last minute whereas converting each item would result in a round up or down for each detail item.  It really depends on what you need.  Or you could convert to seconds and then do your own division by 60 to get minutes and a fraction.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.