Click on the images for descriptions
Introduced in
- Game:
- Arma 2
- Version:
- 1.00
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)
Notes
Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To
Add New Note | How To