in reply to how to automatically kill a program by itself?
Special variable $^T gives the epoch time when the application started executing. time - $^T gives the number of seconds the application has been running.