Display a clock time that updates

Thank you! I can’t get that to work at all though. For example,
let elapsedTime = timedEvent.getElapsedSeconds();
console.log("elapsed time " + elapsedTime);

doesn’t log anything at all.