Show remaining time while program is running?

Show remaining time while program is running?

Hey guys..

I often get asked how long a program is running (remaining time), is there a possibility to achieve this?

Best Regards
Stefan