title: Smarty if statement with date?
body: <p>If I have a smarty variable </p>
  
  <pre><code>{$test.date_created}
  </code></pre>
  
  <p>that displays a date in a smarty template, for example:</p>
  
  <p><strong>02/2/2012</strong></p>
  
  <p>On the smarty website, it says that you can display today's date with the following.</p>
  
  <pre><code>{$smarty.now|date_format:'%m/%d/%Y'}
  </code></pre>
  
  <p>How can I use it in an if statement to display a message when its 3 days old or more from today's date?</p>
  
  <p>If its 3 days old or more, display "Old". If not, Display "New".</p>