code: def get_std_end_date(self):
          
          _, second = self._val
          if second != datetime.max:
              return second.strftime("%Y-%m-%d %H:%M:%S")
          else:
              return ""
docs: If the date is custom, return the end datetime with the format %Y-%m-%d %H:%M:%S. Else, returns "".