<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def std_datetimestr(self, datetimestr):
 """Reformat a datetime string to standard format. """

        return datetime.strftime(
                self.str2datetime(datetimestr), self.std_datetimeformat)