For a given duration of 203443
milliseconds (this is 3
minutes, 23
seconds and 443
milliseconds), a pattern like e.g.
This took about' m 'minutes and' s 'seconds.
would produce the following formatted output:
This took about 3 minutes and 23 seconds.
It is different from format timestamp to current date-time. Is there any C++ standard Library (under C++14) or a solution that I can follow. I'm new to C++.