Microsoft
Software
Hardware
Network
Question : Time Difference in Access
I have a table with the following data
Date | Time In | Time Out
01/01/10 | 7.00 AM | 11.00 PM
01/02/10 | 8.30 AM | 8.30 PM
How do I calculate the difference between Time Out and Time In for each day?
In the example above I should obtain 16 hours for 01/01 and 12 hours for 01/02
I tried TimeOut - TimeIn but I get weird numbers
Answer : Time Difference in Access
If you just want the number of hours as a numeric value (e.g. 16h 30min = 16.5 and 16h 20min = 16.33333) then
SELECT ([time out]-[time in])*24 AS Expr1
FROM tbl;
Random Solutions
Extend RDC connection time connecting to Ms Server 2008 SP1
How to put a view on the back button of navigation bar?
FPDF PDF Generator Help
GridView Hide Column Problem
How to create a rule in McAfee not to block port 587 to send e-mails using SMTP
Looking for Auditing / monitoring solution for windows File Share
Hyper-V V-Switch VM to VM Traffic
Problem deploying VSTO addin in 64 bit Windows Terminal Server environment
split string so it can be used for a where in statement
Syntax error in Stored Procedure