且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

停止计时器

更新时间:2023-12-04 08:33:28

最简单的方法是保存进程启动时的当前时间,然后保存进程停止时的当前时间,然后显示start和结束时间.
The easiest way is to save the current time when the process starts, then the current time when the process stops, and then display the difference between start and end times to the user.