code: def QA_util_datetime_to_strdatetime(dt):
      
      strdatetime = "%04d-%02d-%02d %02d:%02d:%02d" % (
          dt.year,
          dt.month,
          dt.day,
          dt.hour,
          dt.minute,
          dt.second
      )
      return strdatetime
docs: :param dt:  pythone datetime.datetime
      :return:  1999-02-01 09:30:91 string type