how to equal 2 date variable in c#
<pre><code>DateTime dt=Convert.ToDateTime(data);
    if ((dt.Year == DateTime.Now.Year) 
       &amp;&amp; (dt.Month == DateTime.Now.Month) 
       &amp;&amp; (dt.Day == DateTime.Now.Day))
    lblDate.Text = "Today";
</code></pre>

<p>This code too lazy</p>

<ol>
<li>How to compare 2 date variables the easy way? </li>
<li>How to get the difference of 2 date variables in minutes?  </li>
</ol>
