title: How to format 2010-11-24 date in C#?
body: <p>I am using </p>
  
  <pre><code>((DateTime)newsItem.Date).ToString(@"yyyy MM dd") 
  </code></pre>
  
  <p>which gives me 2010 11 24 but not 2010-11-24.</p>
  
  <p>I want dashes in between the numbers of date.</p>