CBA_fnc_formatElapsedTime

Description

Formats time in seconds according to a format.

Intended to show time elapsed, rather than time-of-day.

Parameters

_secondsNumber of seconds to format, for example from ‘time’ command [number]
_formatFormat to put time into [String: “H:MM:SS”, “M:SS”, “H:MM:SS.mmm” or “M:SS.mmm”; defaults to “H:MM:SS”]

Returns

Formatted time [String]

Author

Spooner

Close