MIST getDateString
From DCS World Wiki - Hoggitworld.com
mist.getDateString
| Added with: Mist 3.7 |
| Description |
| 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. |
| Syntax |
| string mist.getDateString( boolean mString ,boolean order ,number time ) |
| Valid Input Values: |
| 93600 |
| Return value: |
| string |
| Return example: |
| 7.4.2011 |
| Usage Examples: |
The following will display the date the way America does it.
local theDate = mist.getDateString(true, true) July 4 2011 |
| Notes: |
| Related Functions |
| tostringMGRS, tostringLL, tostringBR, getMGRSString, getLLString, getBRString, getLeadingPos, getLeadingMGRSString, getLeadingLLString, getLeadingBRString, getMilString, getClockString, getDateString, stringMatch, stringCondense |
