systemTime

From Bohemia Interactive Community
Revision as of 21:50, 20 January 2022 by Lou Montana (talk | contribs) (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Hover & click on the images for description

Description

Description:
Returns system time.
Groups:
Time

Syntax

Syntax:
systemTime
Return Value:
Array in format [year, month, day, hour, minute, second, millisecond]

Examples

Example 1:
_currentTime = systemTime;
Example 2:
systemTime apply {if (_x < 10) then {"0" + str _x} else {str _x}}; // ["2021","05","03","14","09","37","593"]

Additional Information

See also:
systemTimeUTC date time dayTime diag_tickTime serverTimemissionStartdiag_deltaTime

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