numberToDate: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
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|Comments=
{{Command


| arma2 |Game name=
| arma2


|1.00|Game version=
|1.00


|gr1= Environment |GROUP1=
|gr1= Environment


| Convert float number to a date. |DESCRIPTION=
| Convert float number to a date.


| '''numberToDate''' [year,time] |SYNTAX=
| '''numberToDate''' [year,time]


|p1= [year,time]: [[Array]] - |PARAMETER1=
|p1= [year,time]: [[Array]] -


|p2= |PARAMETER2=  
|p2=


|p3= |PARAMETER3=  
|p3=


| [[Array]] |RETURNVALUE=
| [[Array]]




|x1= <code>_date <nowiki>=</nowiki> [[numberToDate]] [2008,0.5324]; //[2008,7,13,7,49]</code>|EXAMPLE1=
|x1= <code>_date <nowiki>=</nowiki> [[numberToDate]] [2008,0.5324]; //[2008,7,13,7,49]</code>




| [[dateToNumber]], [[getNumber]], [[isNumber]], [[parseNumber]], [[playersNumber]] |SEEALSO=
| [[dateToNumber]], [[getNumber]], [[isNumber]], [[parseNumber]], [[playersNumber]]


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  

Revision as of 01:24, 18 January 2021

Hover & click on the images for description

Description

Description:
Convert float number to a date.
Groups:
Environment

Syntax

Syntax:
numberToDate [year,time]
Parameters:
[year,time]: Array -
Return Value:
Array

Examples

Example 1:
_date = numberToDate [2008,0.5324]; //[2008,7,13,7,49]

Additional Information

See also:
dateToNumbergetNumberisNumberparseNumberplayersNumber

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

Notes

Bottom Section