lnStart = datetime() * run process here lnElapsed = datetime() - lnStart lcElapsed = ttoc( {^2001-1-1} + lnElapsed, 2 ) Messagebox( "Elapsed time:" + lcElapsed )>I want to get a message box after the action done (for example if pressed key on command button to do something) how long time it's took to the computer to do the action.