title: How to parse an HTTP Last-Modified header from UTC to DateTime in C#
body: <p>I'm trying to parse the date from the Last-Modified header in an HTTP response.</p>
  
  <p>The date shows as follow:</p>
  
  <p><strong>Last-Modified: Sat, 01 Jul 2006 01:50:55 UTC</strong></p>
  
  <p>I tried <strong>DateTime.Parse</strong>, <strong>DateTime.ParseExact</strong> with no success.</p>
  
  <p>What is that UTC thing at the end and why does C# doesn't want to parse it?</p>
  
  <p><strong>Update:</strong></p>
  
  <ul>
  <li>The server I am requesting from is <strong>PWS/8.0.16</strong> which (i think) is Windows Personal Web Server... This server might be the culprit. (I am interested to know what this server is)</li>
  <li>The data consists of jpeg images.</li>
  <li>It seems like the date format for the Last-Modified header is not always the same. Sometimes, it ends with UTC. Others with GMT.</li>
  </ul>