Python Time String To Datetime Sql Insert