Difference between revisions of "MIST getDate"
From DCS World Wiki - Hoggitworld.com
(Created page with "{{Mission Scripting |fName= mist.time.getDate |vNum = Mist 3.7 |desc= Returns a table formatted as {d = day, m = month, y = year} of a given time in seconds. If no time val...") |
m (Reverted edits by Acidictadpole (talk) to last revision by Grimes) |
(One intermediate revision by the same user not shown) | |
(No difference)
|
Latest revision as of 15:52, 4 January 2019
mist.time.getDate
Added with: Mist 3.7 |
Description |
Returns a table formatted as {d = day, m = month, y = year} of a given time in seconds. If no time value is passed the function returns the current date of the mission. |
Syntax |
table mist.time.getDate( number time ) |
Valid Input Values: |
93600 |
Return value: |
table |
Return example: |
{d = 2, m = 1, y = 2011} |
Usage Examples: |
|
Notes: |
Not a replacement for Tinder. |
Related Functions |
getDate, getDHMS, convertToSec, milToGame |