MIST getMilString

From DCS World Wiki - Hoggitworld.com


mist.getMilString

Added with: Mist 3.7
Description
Returns a string in military time format ranging from '0000' to '2359'. time is defined in seconds, if time is not passed the function will use the current time of the mission.
Syntax
string mist.getMilString( number time )
Valid Input Values:
93600
Return value:
string
Return example:
'0200'
Usage Examples:
The following will insert the current time in military time format into a string.
local mil = mist.getMilString()
local string = 'It is ' .. mil .. 'hours! Pick up the pace!'
Notes:
Related Functions
tostringMGRS, tostringLL, tostringBR, getMGRSString, getLLString, getBRString, getLeadingPos, getLeadingMGRSString, getLeadingLLString, getLeadingBRString, getMilString, getClockString, getDateString, stringMatch, stringCondense

Scripting Engine

MIST Root Page