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
SubTotal a list of Elapsed times.
Download Java API and tutorial on Java Beans
Access Export Formatting
SBS 2008 / Connect to SBS 2008 VPN
Rename table with dependancies in SQL Server 2005
Error occured while running a report. (Exception Of Type (System. OutofMemoryException) was thrown)
Formatting a Western Digital Passport without the VCD or 'Smartware'
Exchange 2003 not processing emails
Matrix Background Color
Database Design Question - SQL Server