title: Get only the Date from the WPF DatePicker
body: <p>when I bind the wpf datepicker SelectedDate I get this 2010-08-25 08:15:33.</p>
  
  <p>As I do a comparison:</p>
  
  <pre><code>if (SelectedStart &gt;= SelectedEnd)
       return false;
  else
      return true;
  </code></pre>
  
  <p>I get always true. I have to compare the DATE without the TIME. But I do not want to convert to a string and parse this then as a Date. That would be silly.</p>
  
  <p>Hm the control is called DATEpicker not DATETIMEpicker seems MS did naming mistake ;P</p>
  
  <p>I already tried this: <code>SelectedDate="{Binding Path=SelectedStart, StringFormat=\{0:d\}}"</code></p>
  
  <p>But I always get the full DateTIME.</p>