title: Convert.ToDateTime() error
body: <p>I get an error trying to convert a <code>string</code> to <code>DateTime</code>, even though this has always worked before. </p>
  
  <p>This is the procedure I used:</p>
  
  <ol>
  <li><p>Save a datetime to a text file like this: </p>
  
  <pre><code>DateTime.Now.ToUniversalTime().ToString(); //results in something like this 20.9.2015 10.16.12
  </code></pre></li>
  <li><p>On application load up:</p>
  
  <pre><code>string s = streamReader.ReadLine(); //the saved string s = "20.09.2015 10.16.12"
  DateTime d = Convert.ToDateTime(s);
  </code></pre></li>
  </ol>
  
  <p>This results in this: </p>
  
  <blockquote>
    <p>String was not recognized as a valid DateTime.</p>
  </blockquote>
  
  <p>I have never experienced this problem before I installed Windows 10 and Visual Studio 2015, my previous setup was Windows 7 and Visual Studio 2013. The weird thing is that this also results in the same error:</p>
  
  <pre><code>DateTime d = Convert.ToDateTime(DateTime.Now.ToUniversalTime().ToString());
  </code></pre>
  
  <p>This did work perfectly in my previous setup, any ideas why it does not work any more?</p>
  
  <p>Edit: I do believe that this question is not a duplicate of the question  Converting a String to DateTime that Thomas Weller linked to. Because this problem is the result of changes in expected behaviour, see the second example. Also I did find a fix to this, but it is not practical:</p>
  
  <pre><code>    string s = DateTime.Now.ToUniversalTime().ToString(); 
      s = s.Substring(0, s.IndexOf(" ")).Replace('.', '/') + s.Substring(s.IndexOf(" ")).Replace('.', ':'); 
      DateTime d = Convert.ToDateTime(s);
  </code></pre>