setDate: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SETDATE]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |SETDATE]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|SETDATE]]


| ofpr |= Game name


<h2 style="color:#000066">'''setDate ''[year, month, day, hour, minute]'''''</h2>
|1.86|= Game version
____________________________________________________________________________________________


| Sets the actual mission date and time. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''setDate''' [year, month, day, hour, minute] |= Syntax


'''[year, month, day, hour, minute]:''' [[Array]]
|p1= [year, month, day, hour, minute]: [[Array]] |= Parameter 1


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>setDate [1986, 2, 25, 16, 0]</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Compatibility:'''
}}


Version 1.86 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Sets the actual mission date and time.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|SETDATE]]
 
[[Category:Scripting Commands OFP Elite |SETDATE]]
'''Example:'''
[[Category:Scripting Commands ArmA|SETDATE]]
 
'''setDate''' [1986, 2, 25, 16, 0]

Revision as of 23:09, 1 August 2006

Hover & click on the images for description

Description

Description:
Sets the actual mission date and time.
Groups:
Uncategorised

Syntax

Syntax:
setDate [year, month, day, hour, minute]
Parameters:
[year, month, day, hour, minute]: Array
Return Value:
Nothing

Examples

Example 1:
setDate [1986, 2, 25, 16, 0]

Additional Information

See also:
See also needed

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