title: how to convert string list to date and time list in python?
body: <p>I have a string list containing date and time. I want to convert it to date and time list.</p>
  
  <pre><code>lstDateTime = [datetime.strptime(x,'%Y-%m-%d %H:%M:%S.%f') for x in time]
  print("lstDateTime:",lstDateTime)
  </code></pre>
  
  <p>It gives absurd list as
  datetime.datetime(2017, 1, 1, 10, 12, 13), datetime.datetime(2017, 1, 1, 10, 12, 14)
  while actual string list is like:-
  '2017-01-01 16:59:25.000', '2017-01-01 16:59:26.000'</p>