title: ASP.NET Controller adding 1 hour to date (format ISO 8601) sent in AJAX request
body: <p>I am writing an ASP.NET MVC application that sends a date in ISO 8601 to my controller.  My controller receives the date as a parameter and casts it to a datetime.  The problem that I am having is that 1 hour is being added to the date.  I have written a very small amount of code that replicates my problem.</p>
  
  <p>This is my controller</p>
  
  <pre><code>public class HomeController : Controller
  {
  
      public ActionResult Index()
      {
          return View();
      }
  
      public void ShowDate(DateTime NewEventStart)
      {
          int x = 0; //set a breakpoint here  
  
      }
  }
  </code></pre>
  
  <p>This is my view</p>
  
  <pre><code>&lt;script src="~/Scripts/jquery-2.1.1.js"&gt;&lt;/script&gt;
  
  &lt;script&gt;
  $(document).ready(function () {
  
      //this is a date in ISO 8601 format
      start = "2014-07-07T06:30:00.000Z";    
      UpdateEvent(start);
  
  
  });
  
  
  function UpdateEvent(EventStart) {
  
      var dataRow = {        
          'NewEventStart': EventStart        
      }
      $.ajax({
          type: 'POST',
          url: "/Home/ShowDate/",
          dataType: "json",
          contentType: "application/json",
          data: JSON.stringify(dataRow)
      });
  }
  
  &lt;/script&gt;
  </code></pre>
  
  <p>When I run the above code and inspect the value of NewEventStart using the debug tools it says the time has changed to 07:30 when I would expect it to say 06:30.</p>
  
  <p>I suspect that possibly some kind of time settings on my machine could be causing this or some kind of timezone issue?  Can someone see the problem and or a fix?   </p>