hi all.

i am new to ASP.net. i need some help in how to work out the difference between times in ASP.net ? or even better allow the user to input there times into text boxes and it works out the calculation for them.

lets say i worked on

Monday

AM = 11:00 - 15:00 = 4hrs
PM = 17:00 - 22:00 = 5hrs

Total = 9hrs

Please help.

i have managed to work this out in MS EXCEL but i cant figure it out in ASP.net

Alistair