def querytime(self, value):
        """
        Sets self._querytime as well as self.query.querytime.
        :param value: None or datetime
        :return:
        """
        self._querytime = value
        self.query.querytime = value
Sets self._querytime as well as self.query.querytime.
        :param value: None or datetime
        :return: