Hello ,
DateTime.Subtract()
method returns you the different of time between two dates .
DateTime first = new DateTime(2015, 08, 18,04,10,21);
DateTime second = System.DateTime.Now;
TimeSpan span = second.Subtract(first);
Console.WriteLine("{0} Minutes", span.TotalMinutes);
Console.WriteLine("{0} Hr. ", span.TotalHours);
& OP is
32.214562365 Minutes
0.53690937275 Hr.
Here I used one TimeSpan Class which is used to represent a length of time. For more information Refer :
TimeSpan