title: Turn postgres date representation into ISO 8601 string
body: <p>I'm trying to format a Postgres date representation into a ISO 8601 string. I'm assuming that there is a Postgres function that can do it, but I found the documentation short on examples. </p>
  
  <p>My query is </p>
  
  <pre><code>SELECT
    now()::timestamp
  </code></pre>
  
  <p>which returns</p>
  
  <pre><code>[{{2016, 8, 9}, {3, 56, 55, 754181}}]
  </code></pre>
  
  <p>I'm trying to get the date into a format that looks more like 
  <code>2016-8-9T03:56:55+00:00</code>. </p>
  
  <p>What changes do I need to make to my query to make that happen? Thanks for your help.</p>