BIS fnc secondsToString: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
m (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
Line 34: Line 34:




[[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 03:04, 2 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Strings

Syntax

Syntax:
Syntax needed
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)
Return Value:
Return value needed

Examples

Example 1:
hint format ["Hi, it is currently %1.", [time, "HH:MM"] call BIS_fnc_secondsToString];

Additional Information

See also:
See also needed

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