title: cannot convert from 'string' to 'System.IFormatProvider'
body: <p>This code gives me this error:</p>
  
  <pre><code>var n = "9/7/2014 8:22:35 AM";
  var m = n.ToString("yyyy-MM-dd'T'HH:mm:ssZ");
  </code></pre>
  
  <p>But this code works as it should and returns the date in the proper format.</p>
  
  <pre><code>var n = DateTime.Now;
  var m = n.ToString("yyyy-MM-dd'T'HH:mm:ssZ");
  </code></pre>
  
  <p>Anyone know why the first code isn't working and how to get it working?</p>