title: Compare date less than 3 months
body: <p>I need to compare whether date is less than 3 months old.</p>
  
  <p>I will get installation date:</p>
  
  <pre><code>DateTime installdate=DateTime.Parse("1/5/2012 8:12:14 PM");
  if ((installdate&lt;DateTime.Now.AddMonths(-3)))
  {
    // do something
  }
  </code></pre>
  
  <p>Is this the best way to compare the dates?</p>
  
  <p>Thanks.</p>