title: Adding days to only date and then subtracting it from date in c#
body: <p>I know this topic has already been discussed but I want to add days to only date, not the complete datetime and then I need to subtract it with date. What I have done till now is :</p>
  
  <pre><code>string endDate = DateTime.Now.AddDays(2).ToShortDateString();
  </code></pre>
  
  <p>Now this gives me string like <code>19-jan-17</code> which is great but when I want to subtract it with todays date, it gives error because the end date is in string. I tried below code:</p>
  
  <pre><code>TimeSpan diff = DateTime.Now.ToShortDateString() - endDate ;
  </code></pre>
  
  <p>or</p>
  
  <pre><code>TimeSpan diff = DateTime.Now.ToShortDateString() - Convert.ToDateTime(endDate)
  </code></pre>
  
  <p>or</p>
  
  <pre><code>TimeSpan diff = DateTime.Now.ToShortDateString() - Convert.ToString(endDate)
  </code></pre>
  
  <p>and if I change <code>DateTime.Now.ToShortDateString()</code> to <code>DateTime.Now</code> then it will also include time which I do not want. I just want to add days in date only and then subtract it with today's date.</p>
  
  <p>Any suggestions. Please help.</p>