String was not recognized as a valid DateTime.Couldn't store <22/06/2012 12:00:00 AM> in Purchase Date Column.Expected type is DateTime
<p>I am receiving this exception on XP running machine but on windows 7, there is no issue. I am trying to format date time as follows,  </p>

<pre><code>dr.BeginEdit();                                     
dr["Pdate"] = ((DateTime)dr[dc]).ToString("dd/MM/yyyy hh:mm:ss tt", CultureInfo.InvariantCulture);
dr.EndEdit();
dr.AcceptChanges();
</code></pre>

<p>It is working fine for '2012-03-04 00:00:00.000' but issue is for '2011-06-22 00:00:00.000'
Any idea?</p>
