title: Convert DateTime Format
body: <p>net 4 and c#.</p>
  
  <p>I have in a Text Box DateTimeValue</p>
  
  <pre><code>3/1/2011 12:00:00 AM
  </code></pre>
  
  <p>I need to convert it in a String of this format:</p>
  
  <pre><code>Format="yyyy-MM-dd"
  </code></pre>
  
  <p>Any idea how to do it?
  PS: I can remove information about the time</p>
  
  <p>Thanks for your time</p>