title: Day and month reverse during MVC model binding
body: <p>I have a strange problem seems to only happens in the test W2k12 server for my ASP MVC3 app.</p>
  
  <p>My development environment is MVC3/.NET4.0/Win7/VS2010.  The deployment server is W2k12 running .NET 4.5</p>
  
  <p>In my model, my datetime fields are generally defined as:</p>
  
  <pre><code>[DisplayName("From (dd/mm/yyyy)")]
  [Required]
  [DataType(DataType.Date)]
  public DateTime? InputDateTime { get; set; }
  </code></pre>
  
  <p>In my view, it just render out the date as string within a text box (i.e. without datepicker)</p>
  
  <p>In my development box (Win7 professional), if I type day and month <strong>only</strong> (for example: dd/mm), and then click the Save/Submit button, it calls the JQuery .serialize() method and pass on to the controller's AJAX method.  It maps to  date field correctly in the dd/mm/yyyy format (and add the current year automatically).  It also saves to DB as a date field no problem.</p>
  
  <p>It is important to note that the form data is serialized and not passed as Json string (not stringified), using $.ajax (jQuery 1.7.x)</p>
  
  <p>If I type 'dd/mm/yyyy' in the text box, it also saves correctly.</p>
  
  <p>However, my problem starts after the program has been deployed to the W2K12 server (running under .NET 4.5):</p>
  
  <p>if I type only dd/mm (e.g. 10/04), the day and month swap and saves as mm/dd (plus the current year, thus mm/dd/yyyy).  The 'swapping' does not occur on the jQyery.serializer but it only passes on to the MVC controller as a string.</p>
  
  <p>If I type the full dd/mm/yyyy, the month and date don't swap</p>
  
  <p>I check the regional and date format (short/long date) on the W2k12 they all seem OK (Australia region, dd/mm/yyyy format) and identical to my W7 box.</p>
  
  <p>Can someone shed some lights on that? Please ask if you require more information.</p>
  
  <p>p.s. the following is already in web.config file:</p>
  
  <pre><code>&lt;globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="en-AU" uiCulture="en-AU" /&gt;
  </code></pre>