title: Get the Date in yyyy-MM-dd format c#
body: <p>I am getting the date in DateTime format.
  e.g. 3/26/2015 12:00:00 AM
  I want to to convert it into Date Time (YYYY-MM-DD).</p>
  
  <p>My output should be in DateTime :</p>
  
  <pre><code>DateTime obj = 2015-03-26
  </code></pre>
  
  <p>I tried, </p>
  
  <pre><code>string value = "11/12/2009";
  IFormatProvider culture = new CultureInfo("en-US", true); 
  DateTime dateValue = DateTime.ParseExact(value, "yyyy-MM-dd", culture);
  </code></pre>
  
  <p>But for no avail.</p>
  
  <p>Thanks in advance</p>