title: Unable to use datetimestrip for a particular value in the dataframe?
body: <p>So I am trying to convert dob to age this is my code:</p>
  <pre class="lang-py prettyprint-override"><code>from datetime import *
  def age(users_dob):
    users_dob = datetime.strptime(users_dob, &quot;%d/%m/%y&quot;).date()
    today = date.today()
    return today.year - users_dob.year - ((today.month,today.day) &lt; (users_dob.month,users_dob.day))
  
  age('17-04-1969')
  </code></pre>
  <p>But I am unable to do so on this date alone</p>
  <p>The error I get is:</p>
  <pre><code>ValueError(&quot;unconverted data remains: %s&quot; % 
  time data '17-04-1969' does not match format '%d/%m/%y'
  </code></pre>
  <p>I even tried to parse it separately but it isn't working.</p>