timespan between now and past datetime
<p>I want to calculate how much time elapsed between a datetime and now in minutes.
This is what I have:</p>

<pre><code>TimeSpan SinceStatusChange = new TimeSpan();
SinceStatusChange = (double)(DateTime.Now.Date - StatusDateTime).TotalMinutes;
</code></pre>

<p>Basically, I'm looking to write this conditional statement:</p>

<pre><code>if (SinceStatusChange is greater than 180 minutes)
</code></pre>

<p>How do I write the line "SinceStatusChange = " so I can later test if the value is greater than 180?</p>

<p>Thanks.</p>
