substract day in date in c#?
<p>I want to check the date is not less than 30 days from the current date.
So i am having a condition as below:</p>

<pre><code>date.CompareTo(new DateTime().AddDays(-30)) &lt; 0
</code></pre>

<p>but doesn't working. cant we add a negative number to date? if not how to achieve this?</p>
