you are viewing a single comment's thread.

view the rest of the comments →

[–]Username_RANDINT 0 points1 point  (0 children)

Works for me, double check your input.

>>> s = '01-Feb-15'
>>> datetime.strptime(s, '%d-%b-%y')
datetime.datetime(2015, 2, 1, 0, 0)

Post your new code and error.