I am having trouble in calculating the time difference in hours between 2 times and dates in a query. I have these times and dates in two different tables:
Table 1:
Injury Date : 16-May-07
Injury Time: 5:30:00 AM
Table 2:
CC Date: 17-May-07
CC Time: 7:00:00 PM
2) Is there a way to write the expression? And be accurate to say 2 decimal places? And displayed as hours only? If not, hours and minutes are quite alright too.
I was told to combine Date and Time in the actual tables, but I did not want to display it like that in my form for data entry.
Is it possible to write an expression using concatenation in the query? I guess there are many ways to approach this.
I would greatly appreciate any help.
Table 1:
Injury Date : 16-May-07
Injury Time: 5:30:00 AM
Table 2:
CC Date: 17-May-07
CC Time: 7:00:00 PM
2) Is there a way to write the expression? And be accurate to say 2 decimal places? And displayed as hours only? If not, hours and minutes are quite alright too.
I was told to combine Date and Time in the actual tables, but I did not want to display it like that in my form for data entry.
Is it possible to write an expression using concatenation in the query? I guess there are many ways to approach this.
I would greatly appreciate any help.