title: How to extract date part from a datetime in vb.net
body: <p>I have a sql query which extract a field of datatype <code>smalldatetime</code>. I read this field using datareader, convert it to string and store it in a string variable.</p>
  
  <p>I get the string as <strong>1/1/2012 12:00:00 AM</strong> ,here i want to use only date part of this string and i have nothing to do with the time.</p>
  
  <p>How can i cut only the date from the string and get the output as <strong>1/1/2012</strong>?</p>