title: How to convert string to date or datetime vb.net
body: <p>How can I convert my strings into a date or datetime datatype in vb.net?
  These are my strings that are date and time with this format:</p>
  
  <pre><code>Dim sDate,sTime String
  Dim myDate,myTime,dateToSave as Date
  
  sDate = '11/25/13'
  sTime = '16:30:05'
  </code></pre>
  
  <p>I wanted to convert it to a date with this expected output:</p>
  
  <pre><code>myDate = '11/25/2013'
  myTime = '16:30:05'
  dateToSave = '11/25/2013 16:30:05'
  </code></pre>
  
  <p>How can I do this so that I can save it to sql table with datatype of datetime?</p>