date: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (MP note - command returns local time)
m (date, not time)
Line 16: Line 16:
|x1= <pre> _DateStamp=Date;</pre> |=Example 1
|x1= <pre> _DateStamp=Date;</pre> |=Example 1


|mp= Returns the current <u>local</u> ingame time in hours.  
|mp= Returns the current <u>local</u> in game date.  


|  |= See also
|  |= See also

Revision as of 12:55, 13 March 2009

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Return the actual mission date and time as an array [year, month, day, hour, minute]. Month is a full number between 1 and 12, day is between 1 and 31, hour is between 0 and 23 and minute is between 0 and 59.
Multiplayer:
Returns the current local in game date.
Groups:
Uncategorised

Syntax

Syntax:
Array = date
Return Value:
Array

Examples

Example 1:
 _DateStamp=Date;

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