Python Class Run Function Python Format Datetime As String