title: What is difference between 'year()' and 'format('YYYY')'?
body: <p>What is the difference between those two:</p>
  <pre><code>var year = moment().format('YYYY');
  var year = moment().year();
  </code></pre>
  <p>Is it just type of a returned value or anything else?</p>