setDate: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 12: Line 12:
| '''setDate''' [year, month, day, hour, minute] |= Syntax
| '''setDate''' [year, month, day, hour, minute] |= Syntax


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


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 18:15, 25 January 2009

-wrong parameter ("Arma") defined!-1.00
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

This command is special in that it is "smart". If you add 120 minutes, for example, it will actually advance hours by 2, and so on. --Doolittle 18:52, 6 October 2007 (CEST)

Bottom Section