title: How to parse the year from this date string in JavaScript?
body: <p>Given a date in the following string format:</p>
  
  <pre><code>2010-02-02T08:00:00Z
  </code></pre>
  
  <p>How to get the year with JavaScript?</p>