title: Javascript backwards date, reverse?
body: <p>does anybody know How I could reverse the date that I have in javascript?</p>
  
  <p>I have a created date of files from google drive which I pulled using the google drive api, however the date is reverse.</p>
  
  <p>2014-02-25</p>
  
  <p>I would like, 25-02-2014 (dd/mm/yyyy)</p>
  
  <pre><code>var date = resp.createdDate;
  date = date.substring(0, date.length - 14)
  </code></pre>
  
  <p>This is my code, i trimmed the end off, because it came with time etc.</p>
  
  <p>my output is currently : 2014-02-25</p>
  
  <p>Im unsure how I could do this and im sure its simple!</p>