title: Filtering a view in SharePoint list based on a year
body: <p>I'm using SharePoint 2010. </p>
  
  <p>I want to create new view for my list. The list contains a column called <code>Year</code>, which is a number and contains, as name suggests, year. Eg.:</p>
  
  <pre><code>2012
  2011
  2010
  2009
  </code></pre>
  
  <p>I would like create a view, where I would display only last 3 years. Under creating new view, I go to <code>Filter</code>, choose <code>Show items only when the following is true:</code>, pick column <code>Year</code> and... this is where I get lost. </p>
  
  <p>How to write a condition, that a number should be greater that current year minus 3? I tried</p>
  
  <pre><code>[Year]-3
  </code></pre>
  
  <p>but this obviously couldn't be so simple. Please help me write this condition. </p>