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