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
FREE SMS Text Messaging API
Modify Cron Job
PHP - No results show for If else statement
OpenVMS logs to be sent using syslog
connect to sql database using php
MYSQL - Specified Key was too long! Help!
Conficker Worm
Redundant tables in Data Sources window of VIsual Studio 2010
how to set up a backup domain controller
Event ID 364 when synchronizing WSUS 3.0 SP1