that method works in pure python
from datetime import datetime datetime.strptime('09-DEC-24 07:03:03 pm', '%d-%b-%y %I:%M:%S %p')