title: Which date format does VarToDateTime(VarDateFromStr) use?
body: <p>I've been having problems lately with date conversion lately. Some workstations my application run on don't convert string to date correctly.</p>
  
  <p>I tracked the issue down to VarDateFromStr that doesn't seem to be checking LOCALE_SSHORTDATE to make the conversion.  I was wondering if anyone knew what it DID check for the conversion. Or does the different behavior only linked to different DLL version?</p>
  
  <pre><code>GetLocaleStr(GetThreadLocale, LOCALE_SSHORTDATE, 'm/d/yy'); // returns 'dd-MM-yyyy'
  FormatDateTime('dd-MM-yyyy', VarToDateTime('05-11-2010')); //returns '11-05-2010'
  </code></pre>
  
  <p>EDIT:
  I've been told that changing the short date format (in the control panel) from 'dd-MM-yyyy' to <em>whatever</em> and back to 'dd-MM-yyyy' fixed the problem.  I still have to verify this though.</p>
  
  <p>EDIT2: Kindda forgot to mention, the problem has only been confirmed on WinXP SP3 yet.</p>