BIS_fnc_timeToString

From Bohemia Interactive Community
Revision as of 18:42, 3 April 2006 by BIS fnc exportFunctionsToWiki (talk) (Generated by BIS_fnc_exportFunctionsToWiki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Hover & click on the images for description

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

Notes

Bottom Section