DateTime.Subtract
TimeSpan t; t = Convert.ToDateTime(Stoptime).Subtract(Convert.ToDateTime(starttime)); totaltime = t.Minutes + (t.Hours * 60) + ((Convert.ToSingle(t.Seconds) /60)) ;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)