1
Answer

how to get the Time difference

sunil

sunil

17y
2.1k
1
Hi Guys, I would like to know how we can get the time difference in hours in C#. Eg. If i have a time A) 11:22 and B) 21:22 I need to know the difference between B and A with + ve or -ve diff. That is A - B = - 10 Always this is my order of executiton ( A - B). Awaiting a response. Thanks, Sunil.
Answers (1)