BIS fnc secondsToString: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Text replacement - "\[\[Category\:Function Group\: Strings(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
||
Line 47: | Line 47: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Functions|{{uc:secondsToString}}]] | [[Category:Functions|{{uc:secondsToString}}]] | ||
[[Category:{{Name|tkoh}}: Functions|{{uc:secondsToString}}]] | [[Category:{{Name|tkoh}}: Functions|{{uc:secondsToString}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:secondsToString}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:secondsToString}}]] |
Revision as of 11:54, 12 October 2020
Description
Syntax
- 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"
- returnArray: Boolean - (Optional, default false)
- Return Value:
- 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];
Additional Information
- See also:
- timeBIS_fnc_showTimeBIS_fnc_timeToString
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note