The SECONDS environment variable contains the number of seconds since dbx was invoked. You can assign any value to SECONDS to reset the timer to 0.