title: Nullable dateTime without losing methods
body: <p>I've made a method to convert a datetime object to a date-only format. In order to access it, I have to assign the value of my parameter to the value that will be in a datatable. The obvious method would thus be to add a <code>?</code> after the DateTime object to make it nullable, however this removes it's methods (or at least, the one I need to use), making my method worthless.</p>
  
  <pre><code>string dateWithOutTime(DateTime? datetime)
  {
      string reply = datetime.Date.ToString();
      return reply;
  }
  </code></pre>
  
  <p>usage:</p>
  
  <pre><code>string str = dateWithOutTime(*DataSet*.*DataTable[n]*.Rows[n][n] as DateTime?);
  </code></pre>
  
  <p>Is there a way to accomplish this without adding any extra objects?</p>
  
  <p><em>Note: a star (<code>*</code>) denotes a variable type/object</em></p>