I need a function that can return the difference between the below two dates as 24.
DateTime a = new DateTime(2008, 01, 02, 06, 30, 00); DateTime b = new Dat
Are you perhaps looking for:
int Difference = (a-b).Hours;