title: Get Date from DateTime without ToShortDateString
body: <p>I am searching for this for about 2 hours and I don't have any ideas anymore. 
  The problem is I have a DateTime object and I need only the date part from it.</p>
  
  <p>I tried </p>
  
  <ol>
  <li><code>data.Date</code></li>
  <li><p>create a new DateTime object like this</p>
  
  <p><code>var x = new DateTime(data.Year,data.Months,data.Day)</code></p></li>
  <li><p>I tried like this</p>
  
  <p><code>DateTime.Parse(data.ToString("yyyy-MM-dd"))</code></p></li>
  </ol>
  
  <p>NOTE: After getting the date part only,  data needs to remain DateTime ( not string ), so I can not use <code>ToShortDateString()</code></p>