parameters: (date_time,format)
return_statement: return date_time.strftime('%Y-%m-%d %H:%M:%S')
docstring: conver date time string to date format string
              2018-03-20T16:00:00 to 2018-03-20 16:00:00
docstring_summary: conver date time string to date format string
              2018-03-20T16:00:00 to 2018-03-20 16:00:00
docstring_tokens: conver date time string to date format string 2018 - 03 - 20T16 : 00 : 00 to 2018 - 03 - 20 16 : 00 : 00
function: def get_datetime_string(date_time,format):
          '''
              conver date time string to date format string
              2018-03-20T16:00:00 to 2018-03-20 16:00:00
          '''
          date_time=datetime.datetime.strptime(date_time,format)
          return date_time.strftime('%Y-%m-%d %H:%M:%S')
function_tokens: def get_datetime_string ( date_time , format ) : date_time = datetime . datetime . strptime ( date_time , format ) return date_time . strftime ( '%Y-%m-%d %H:%M:%S' )