title: How can I print DateTime in UTC format?
body: <p>I'm simply trying to print a DateTime in its UTC equivalent time format. What am I doing wrong?</p>
  
  <pre><code>var utcEpoch = DateTime.Parse("1970-01-01", CultureInfo.InvariantCulture, DateTimeStyles.AssumeUniversal); //This specifies the time I provided is in UTC
  Console.WriteLine(utcEpoch.ToString("yyyy-MM-dd HH:mm:ss zzz")); //This properly shows my UTC offset of -6, so it's not wrong
  Console.WriteLine(utcEpoch.ToString("u")); //This just flat out seems wrong because it doesn't specify a timezone or offset in its output
  
  &gt; 1969-12-31 18:00:00 -06:00
  &gt; 1969-12-31 18:00:00Z
  </code></pre>
  
  <p>I expected to see <code>1970-01-01 00:00:00Z</code> for the last one.</p>