May 10, 2020ย ยท I am trying to time a running function. But I need to know how many hours/minutes/seconds does it takes. I am using time.time(), but I don't understand the output. How โ€ฆ

This gives the execution time in seconds. Another option since Python 3.3 might be to use perf_counter or process_time, depending on your requirements. Before 3.3 it was recommended to use time.clock โ€ฆ

There's no way to get more to the point than this answer. The OP was asking "Is there a cross-platform way to get the current date and time in C++?" This question gives you exactly this. If you are in doubt โ€ฆ

Recommended for you
You may also like

๐Ÿ“– Continue Reading:

Ty Harrington Actor