title: Convert date to YYYY-MM-DDThh:mm:ss.sssZ format in Postgresql
body: <p>I want to convert the date format to <code>YYYY-MM-DDThh:mm:ss.SSSXXXZ</code> (ISO 8601).</p>
  <p>Getting <code>2021-02-10T04:02:55.55SXXXZ</code> and it's wrong. I need it as <code>2021-02-10T04:02:55.55S000000Z</code>.</p>
  <pre><code>select to_char(now(), 'YYYY-MM-DDThh:mm:ss.SSSXXXZ')
  </code></pre>