title: How to format UTCTime as ISO 8601 in Haskell
body: <p>I would like to convert a full date/time to ISO 8601 format <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString">like JavaScript's <code>new Date().toISOString()</code></a> does, giving a <code>YYYY-MM-DDTHH:mm:ss.sssZ</code> format.</p>
  
  <p>I cannot find a base library function or package to do this.</p>