title: Convert postgres timestamp (+ timezone) to Date object [Javascript]
body: <p>Our postgres database returns a string with a timestamp: <code>'2016-07-24T03:32:45.678Z'</code></p>
  
  <p>We are trying to use the <code>moment.js</code> library, but it only accepts a Date object.</p>
  
  <p>How can I convert the above timestamp+timezone into a Date object using Javascript?</p>
  
  <p>Thank you for any help you can provide.</p>