Is there a standard algorithm that can output the difference time (in seconds) and use it to print the minutes, hours, numbers?
I would appreciate it if you show this algorithm in Flowgorithm app.

First it's unlikely that you'll get folk to craft a Flowgorithm solution.
Next you didn't provide any code in c++ or python which needs the solution.

Why code? So we can see how you represented time and from there could suggest possible code solutions.

Also, in today's systems we don't always "print." Sometimes we can use cout (C++) or python is different as well as most apps are graphical so we have some dozen plus ways to show a result.

You need to put in a little effort on your question now.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.