BIS_fnc_timeToString
Jump to navigation
Jump to search
Description
- Description:
//------------------ // Authors: Peter Morrison (snYpir) & Philipp Pilhofer (raedor) // Purpose: This function returns a 24-hour time as a string from a decimal // Arguments: [daytime] // Return: boolean /* This is meant to be used with the 'daytime' command, for example if 'daytime' was 7.36, '[daytime] call TimeToString' would return 07:21:36 No rounding of the time is done - ie time is returned as per a clock The second array element passed in is the return time format. It can be: "HH" - Hour "HH:MM" - Hour:Minute "HH:MM:SS" - Hour:Minute:Seconds "HH:MM:SS:MM" - Hour:Minute:Seconds:Milliseconds "ARRAY" - [Hour,Minute,Seconds,Milliseconds] If the second parameter is not passed in, it defaults to "HH:MM:SS" */ // // Revision History: // 09/01/08 0.1 - First cut VBS2 //------------------
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Return value needed
Examples
- Example 1:
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