MIST getDateString

From DCS World Wiki - Hoggitworld.com


Added with: Mist 3.7
Returns a string of the date. The boolean mString defines if the month name is used in the string instead of the month digit. (false/nil for 3, true for 'March'). The boolean order defines if the date is presented in the date format mm/dd/yy or dd/mm/yy. time is defined in seconds, if time is not passed the function will use the current time of the mission, thus return the current date.
string mist.getDateString( boolean mString ,boolean order ,number time )
Valid Input Values:
Return value:
Return example:
Usage Examples:
The following will display the date the way America does it.
local theDate = mist.getDateString(true, true)
July 4 2011
Related Functions
tostringMGRS, tostringLL, tostringBR, getMGRSString, getLLString, getBRString, getLeadingPos, getLeadingMGRSString, getLeadingLLString, getLeadingBRString, getMilString, getClockString, getDateString, stringMatch, stringCondense

Scripting Engine

MIST Root Page