Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Other Forums
 MS Access
 Subtracting Dates in Query *** RESOLVED***

Author  Topic 

JacobPressures
Posting Yak Master

112 Posts

Posted - 2005-05-26 : 17:20:07
All the info for this query is found in the same table.

FinishTime 3/25/2005 10:09:11 AM
Minus
StartTime 3/25/2005 9:52:47 AM

Equals JUNK! 0.0113888888881775

It should be about 20 minutes. But i can't tell that from the results!

How can i get the Hours, Minutes and Seconds?

Maybe my query is wrong. This is Access 2000

SELECT cc.categoryid, cc.starttime, cc.finishtime, cc.finishtime-cc.starttime
FROM completed_categories cc;

What do you think?
Thanks!
   

- Advertisement -