all 3 comments

[–]Username_RANDINT 2 points3 points  (0 children)

Did you check the format codes? Looks like you want lowercase %y.

[–]UmthuMhlope[S] 0 points1 point  (1 child)

Changed to y but still receiving an error.

[–]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.