title: Get Current Year in a View Using the Phoenix Framework
body: <p>I'm coming from a Rails background and trying to learn the Phoenix Framework. In Rails I used to do this in my footer so that the year is always up to date:</p>
  
  <pre><code>&lt;%= Date.now.year %&gt;
  </code></pre>
  
  <p>What is the Phoenix/Elixir equivalent? How can I show the current year in the view?</p>
  
  <p>Thank you for your time.</p>