Python Time String To Datetime Sql Insert Query