If this code is giving you an error with the code like this
=Sum(DateDiff("h",[Time_In],[Time_Out]))
In SQL Server 2005 I am able to take the quotes out around the h and it will work. The code looks like this below
=Sum(DateDiff(h,[Time_In],[Time_Out]))
I know that when I was trying to get days...