Description
Convert seconds to formatted string.
Syntax
[totalSeconds, format, returnArray] call BIS_fnc_secondsToString
Parameters:
totalSeconds: Number - time in seconds (see time)format: String - (Optional, default "HH:MM:SS") can be one of:- "HH"
- "HH:MM"
- "HH:MM:SS"
- "HH:MM:SS.MS"
- "MM"
- "MM:SS"
- "MM:SS.MS"
- "SS.MS" HH = Hours, MM = Minutes, SS = Seconds, MS = Milliseconds
returnArray: Boolean - (Optional, default false)
Returns: String or Array of Strings if returnArray is set to true
Examples
Example 1
hint format ["Hi, it is currently %1.", [time, "HH:MM"] call BIS_fnc_secondsToString];