Calculate time difference in c# windows phone 7
<p>I am trying to <strong>calculate the time difference between 2 time</strong> and put the result into a text block.</p>

<p>For example,</p>

<p>Start time: 9:45 AM</p>

<p>End start: 5:15 PM</p>

<p>How can i <strong>calulate the time difference</strong> between it?</p>

<p>DateTime dt1 = DateTime.ParseExact(DateTime.Now.ToShortTimeString(), "hh:mm tt", new DateTimeFormatInfo());</p>

<pre><code>        DateTime dt2 = DateTime.ParseExact(timePicker1.ValueString, "hh:mm tt", new DateTimeFormatInfo());
</code></pre>

<p>TimeSpan ts1 = dt2.Subtract(dt1);</p>
