title: convert string to datetime in my sql
body: <p>I want to convert the string <code>"2017-03-13T14:39:00.000"</code> into datetime format in my sql select query. </p>
  
  <p>After converting it, I have to compare this with another date. So I'm expecting the converted datetime should be compatible with comparison  operators (&lt; and >).</p>
  
  <p>Thanks</p>