Get the current timer value in seconds.

        Returns: the elapsed time in seconds since the timer started or until the timer was stopped

def get(self):
        """ Get the current timer value in seconds.

        Returns: the elapsed time in seconds since the timer started or until the timer was stopped
        """
        now = datetime.now()
        if self._start_time:
            if self._stop_time:
                return (self._stop_time - self._start_time).total_seconds()
            return (now - self._start_time).total_seconds()
        return 0.