title: How to get year in formate dd/mm/yyyy in javascript
body: <p>for example </p>
  
  <pre><code>var date = '18-02-2015';
  </code></pre>
  
  <p>How i can get the year? just the year.
  if i use getFullYear() -> it just process formate MM-DD-YYYY</p>
  
  <p>Sorry for my bad English</p>