Alert ON Timer

Alert ON Timer

Hello, I'm trying to figure out how to show a timer in a devices table that shows hh:mm:ss since some alert turned on. That helps the users to know how much time some parameter has been out of range, for example: High temperature.

Any ideas ??