title: Get Datetime in 8601 format from SQL Server
body: <p>My table stores datetime in the following generic format:</p>
  <pre><code>2021-03-13 21:29:51.000
  </code></pre>
  <p>How can I get the date in this format</p>
  <pre><code>2021-03-13T21:00-04:00
  </code></pre>
  <p>I have tried this:</p>
  <pre><code>SELECT FORMAT (FromDateTime, 'yyyy-MM-ddTHH:00') 
  FROM [table] 
  </code></pre>
  <p>and I get this result: <code>2021-03-13T13:00</code></p>
  <p>How can I get the time zone information?</p>