I have a value in TimeSpan
, let's say: tsp1
= 2 hour 5 minutes.
I have another TimeSpan
variable which contains a value like: tsp2
= 0 hours 2 minutes
Please tell me how I can divide tsp1
by tsp2
so that I can get the exact number of times tsp2
divides into tsp1
and what the remainder is.
I am using Visual Studio 2008.
Thanks.