title: String Date Compare
body: <p>In an BDD test I am comparing dates. When Comparing the dates are in strings. Even thought both the dates are same I get this message and the test fails</p>
  
  <p>Expected object to be "01/20/2012 12:00:00 AM", but found "1/20/2012 12:00:00 AM".</p>
  
  <p>One more thing is this happens just on my system. If I ask another developer to run the test, the test passes fine. Is there a setting of some type that I am missing?</p>
  
  <p>The code part of it is </p>
  
  <pre><code>            customer["DateOfBirth"].Should().Be(Helper.DateOfBirth.ToString());
  </code></pre>
  
  <p>Where customer is a hash table. this particular statement passes OK on other machines but not mine.</p>
  
  <p>I know I can fix it by changing to date compare instead of String compare. But I was curious, since this is fine on other machines. </p>