code: def format_cftime_datetime(date):
      
      return '{:04d}-{:02d}-{:02d} {:02d}:{:02d}:{:02d}.{:06d}'.format(
          date.year, date.month, date.day, date.hour, date.minute, date.second,
          date.microsecond)
docs: Converts a cftime.datetime object to a string with the format:
      YYYY-MM-DD HH:MM:SS.UUUUUU