title: How to get textbox date formatted as a string?
body: <p>I am using a textbox with text mode set as date. What I need is to arrange the date format to MM/dd/yyyy. I know if I use <code>DateTime.Now</code>, it gets today's date, but I cannot get the value of user's picked date if I do like this as there is error:</p>
  <pre><code>string dateOfBirth = DateTime.ToString(&quot;MM/dd/yyyy&quot;);
  </code></pre>
  <p>This is how I do:</p>
  <pre><code>string tmpDateOfBirth = tb_date.Text;
  //This below line returns todays date and not the date that the user pick on the calendar.
  string dateOfBirth = DateTime.Now.ToString(&quot;MM/dd/yyyy&quot;);
  </code></pre>