title: ASP.net time rendering differently on different servers
body: <p>I have two webservers, WEB1 and WEB2.  The function:</p>
  
  <pre><code>public static string ToTimeAgoHTML(this DateTime date)
  {
      return "&lt;time class=\"timeago\" datetime=\"" + date.ToString("o") + "\"&gt;" + date.FriendlyDate() + "&lt;/time&gt;";
  }
  </code></pre>
  
  <p>Is called on a value.  These render as:</p>
  
  <p><strong>WEB1</strong></p>
  
  <pre><code>&lt;time class="timeago" datetime="2017-04-03T15:12:04.9072263Z"&gt;3 Apr, 2017&lt;/time&gt;
  </code></pre>
  
  <p><strong>WEB2</strong></p>
  
  <pre><code>&lt;time class="timeago" datetime="2017-04-03T15:12:04.9072263"&gt;3 Apr, 2017&lt;/time&gt;
  </code></pre>
  
  <p>Note that Web1 renders with a <code>z</code> at the end, whereas Web2 doesn't do this.   This is causing the requests on Web2 to be shown 1 hour in the past.</p>
  
  <p>Both webservers timezones are set the <code>(UTC) Coordinated Universal Time</code> in Windows.</p>
  
  <p>Does anyone know what could be happening here?</p>