numberToDate: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma2 | | arma2 | ||
|1.00 | |1.00 | ||
|gr1= Environment | |gr1= Environment | ||
| Convert float number to a date. | | Convert float number to a date. | ||
| '''numberToDate''' [year,time] | | '''numberToDate''' [year,time] | ||
|p1= [year,time]: [[Array]] - | |p1= [year,time]: [[Array]] - | ||
|p2 | |p2= | ||
|p3 | |p3= | ||
| [[Array]] | | [[Array]] | ||
|x1= <code>_date <nowiki>=</nowiki> [[numberToDate]] [2008,0.5324]; //[2008,7,13,7,49]</code> | |x1= <code>_date <nowiki>=</nowiki> [[numberToDate]] [2008,0.5324]; //[2008,7,13,7,49]</code> | ||
| [[dateToNumber]], [[getNumber]], [[isNumber]], [[parseNumber]], [[playersNumber]] | | [[dateToNumber]], [[getNumber]], [[isNumber]], [[parseNumber]], [[playersNumber]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 01:24, 18 January 2021
Description
- Description:
- Convert float number to a date.
- Groups:
- Environment
Syntax
Examples
- Example 1:
_date = numberToDate [2008,0.5324]; //[2008,7,13,7,49]
Additional Information
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