calculate the time difference between two times in hours and minutes in c# code example
Example: fdifference between two date in hours c#
double dif = (greaterDate - smallerDate).TotalHours;
double dif = (greaterDate - smallerDate).TotalHours;