Python Extract Version From String To Datetime