title: change Date Format C#
body: <p>I am creating a web app in which if a user wants to show the data between the particular date he enter the date in the textbox with the help of ajax calender extender,
  There are two textboxes 
  1 From date
  2 To date </p>
  
  <pre><code>9/1/2016
  
  9/16/2016
  </code></pre>
  
  <p>And this is how the date is coming but i want to convert the date before validating the dates from the database,</p>
  
  <p>And I want the date format to be like the following</p>
  
  <pre><code>2015-10-26
  
  2016-09-28
  </code></pre>