title: C# How to determine if a date is within 180 days of now
body: <p>How can I determine if a date is within 180 days?</p>
  
  <p>I've been playing with DateTime.Compare below and using date1 +180 days (date1 is 28th August 2009 13:12)</p>
  
  <pre><code>DateTime.Compare(**date1**.AddDays(180), now) 
  </code></pre>
  
  <p>Is this correct?</p>
  
  <p>Thanks</p>
  
  <p>Jamie</p>