title: CONVERT date format from mm-dd-yyyy to dd-mmm-yyyy in c#
body: <p>I am trying insert asp.net form field values to oracle database table. I have a date field which is in "MM-DD-YYYY" format. I need to add that date to oracle table. So i am trying to convert that date format to "DD-MMM-YYYY" format. But i am getting the following error.</p>
  
  <p>code:</p>
  
  <pre><code>var creation_date = DateTime.ParseExact(CreationDateTextBox.Text, "DD-MMM-YYYY",null);
  </code></pre>
  
  <p>Text box value is: 12-12-2013.(No time)
  i am getting error like "String was not recognized as a valid DateTime".</p>