When I use the function datediff
I works great an I get the difference in hours between the two times
When I do
I get #error in the textbox
I am trying to get a result like 8.15 which would mean an 8 hour and 15 minutes time difference between the two times.
What am I forgetting??
Newbie in search of knowledge
Code:
=DateDiff("h",[txtLogIn],[txtLogOut])
I works great an I get the difference in hours between the two times
When I do
Code:
=DateDiff("hn",[txtLogIn],[txtLogOut])
I get #error in the textbox
I am trying to get a result like 8.15 which would mean an 8 hour and 15 minutes time difference between the two times.
What am I forgetting??
Newbie in search of knowledge