Converting time 121.419419 to readable minutes/seconds

Question:

I’d like to calculate the time my script runs, but my result from get-date is in totalseconds.

How can I convert this to 31:14:12 behing hours:minutes:seconds?

Answer:


or

Source:

Converting time 121.419419 to readable minutes/seconds by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply