title: How do you globally set the date format in ASP.NET?
body: <p>How do you globally set the date format in ASP.NET?</p>
  
  <p>My local machine and servers have Regional Settings set to "English (New Zealand)".</p>
  
  <p>When I format a date with <code>dd/MM/yyyy</code> I expect to see <code>19/11/2008</code> for today for example.</p>
  
  <p>Until recently, that is what I did in fact get from both my local machine and the servers.</p>
  
  <p>Just recently, for some mysterious reason, our local machines have changed ever so slightly.  Despite still be set to "English (New Zealand)", the date delimter has changed from <code>/</code> to <code>-</code>!  The same change has not occurred on the servers which still show "English (New Zealand)" and the <code>/</code> for the date delimter.</p>
  
  <p>So now for my local machine, for the format <code>dd/MM/yyyy</code> I get <code>19-11-2008</code> instead of <code>19/11/2008</code>.</p>
  
  <p>This is a little disconcerting.</p>
  
  <p>The only way around it that I can see so far is to escape the slashes and set the format to <code>dd\/MM\/yyyy</code>.  It seems to work, but it doesn't seem to be the ideal solution.</p>
  
  <p>Can anyone please help?</p>
  
  <p>NOTE: This is for an intranet application and I do not care about true globalisation.  I just want to fix the date format and not have it change on me.</p>