`SECONDS` is like `PWD`: the shell keeps track of updating it somewhere, and it'll tell you how long your shell has been running.
https://www.oreilly.com/library/view/shell-scripting-expert/...
https://www.oreilly.com/library/view/shell-scripting-expert/...