Elapsed Time - Counting up



I have a feature where I want to count up. So i have an even that I’m
capturing a time for. After that event is entered into the DB, I want
to count up from the time that that event happened - but I want to do so
dynamically and automatically. Think chronograph.

Does rails or even javascript have something like this?

Thanks very much in advance for your help.