code: def std_datetimestr(self, datetimestr):
          
          return datetime.strftime(
                  self.str2datetime(datetimestr), self.std_datetimeformat)
docs: Reformat a datetime string to standard format.