docs: def adapt_datetimefield_value(self, value):
          """
          Transform a datetime value to an object compatible with what is expected
          by the backend driver for datetime columns.
          """
          if value is None:
              return None
          if self.connection._DJANGO_VERSION >= 14 and settings.USE_TZ:
              if timezone.is_aware(value):
                  # pyodbc donesn't support datetimeoffset
                  value = value.astimezone(timezone.utc)
          if not self.connection.features.supports_microsecond_precision:
              value = value.replace(microsecond=0)
          return value