title: Print Date in c# in a specified format
body: <p>I am using the .NET <code>DateTime</code> type and would like to print date in the following format</p>
  
  <blockquote>
    <p>"2017-08-23T11:33:14.653191-05:00"</p>
  </blockquote>
  
  <p>I am currently able to get the date with year month and day by using this.</p>
  
  <pre><code>DateTime.UtcNow.ToString("yyyy-MM-dd")
  </code></pre>
  
  <p>The above code results in "2017-08-23", but I want the date in above format.</p>