title: Converting pandas Column to datetime
body: <p>I am trying to convert a pandas column to datetime. This is my error message.</p>
  
  <blockquote>
    <p>ValueError: time data '01-JUN-17 00:00:00' does not match format
    '%d-%b-%y %H.%M.%S' (match)</p>
  </blockquote>
  
  <p>This is my code :</p>
  
  <pre><code>df['dayofservice'] =  pd.to_datetime(df['dayofservice'], format = '%d-%b-%y %H.%M.%S')
  </code></pre>
  
  <p>I have read this documentation to ensure my format is correct : <a href="https://docs.python.org/2/library/datetime.html#strftime-and-strptime-behavior" rel="nofollow noreferrer">https://docs.python.org/2/library/datetime.html#strftime-and-strptime-behavior</a></p>
  
  <p>It's still not working for me.</p>