def set_end_date(self, end_date):
        self.end_date, self.end_date_micro = _timestamp_to_splitted_utc_datetime(end_date)
        if end_date:
            self.session_time_micro = (self.end_date - self.start_date).seconds * 1e6 + (self.end_date - self.start_date).microseconds
            self.session_time_seconds = self.session_time_micro / 1000000
dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/weblab/db/model.py/DbUserUsedExperiment.set_end_date/original