Hi I am trying to get the the result of in time and out time from dates but it returns only hours using following select Query as follows
SELECT DATEDIFF(Hh,InTime,OutTime) as Diff_time from EmpLogTable
and i need result in HH:MM Suppose my in time is 11 am and out is 5.49pm so o/p would be 6.49 but using above select query i am getting o/p as 7 only if any body has a solution then please let me know
Thanking you in Advance Umesh Rakhe